> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cash on Delivery

> Offer Cash on Delivery (COD) as a payment method on the Razorpay Checkout page.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

You can now offer Cash on Delivery (COD) as a payment method on the Razorpay Checkout page. Customers can choose COD directly on the Checkout page, alongside UPI, cards, netbanking and more. This flow increases accessibility and builds trust among first-time buyers and high-value orders.

## Ways to Offer COD

| **Checkout product** | **How COD works** | **Guide** |
| - | - | - |
| **Standard Checkout** | COD appears as a payment method in Standard Checkout. You set the convenience fee per order using `cod_fee`, control where COD appears, and receive a `payment.pending` webhook when an order is placed. COD must be activated on your account. | [COD on Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/cod) |
| **Magic Checkout** | COD is supported by default. The checkout flow includes an address section, which you can hide using `show_address`. | This page |

<Info>
  **Handy Tips**

  [Razorpay Magic Checkout](/docs/payments/magic-checkout) supports Cash on Delivery (COD) by default. For a simplified experience without the address section, use the flow described below that directly opens the payment page. Both flows support COD as a payment method.
</Info>

## COD on Magic Checkout

The rest of this page describes COD on Magic Checkout. If you use Standard Checkout, see [COD on Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/cod) instead.

## Prerequisites

* [Create a Razorpay account](https://dashboard.razorpay.com/).
* Generate [API Keys](/docs/payments/dashboard/account-settings/api-keys#generate-api-keys) from the Dashboard. To go live with the integration and start accepting real payments, generate Live Mode API Keys and replace them in the integration.
* Integrate with Razorpay Magic Checkout:
  * [Native (Web)](/docs/payments/magic-checkout/web)
  * [Android](/docs/payments/magic-checkout/android-integration)
  * [iOS](/docs/payments/magic-checkout/ios-integration)
  * [React Native: Android](/docs/payments/magic-checkout/react-native-android-integration)
  * [React Native: iOS](/docs/payments/magic-checkout/react-native-ios-integration)
  * [Flutter](/docs/payments/magic-checkout/flutter-integration)
  * [Capacitor](/docs/payments/magic-checkout/capacitor-integration)

<Warning>
  **Watch Out!**

  This feature is currently supported only for native Razorpay integrations. It is not available on third-party platforms such as Shopify, WooCommerce and so on.
</Warning>

## Integration Steps

Follow the integration steps given below:

1. Use your existing Magic Checkout integration. While configuring the checkout options, pass the `show_address` parameter as shown below to control the visibility of the address section:

```javascript json theme={null}
"options": {
    "show_address": false
    }
```

`show_address`
: `boolean` Determines whether the shipping address section appears on the Checkout page. Possible values

* `true` (default): Show the address form.
* `false`: Hide the address form.

<Info>
  **Handy Tips**

  Magic Checkout supports **Cash on Delivery (COD)** by default and the checkout flow includes an address section. Use the `show_address` parameter to remove this step and maintain a simplified checkout experience.
</Info>

2. **Cash on Delivery** appears as one of the available payment methods on the Checkout interface. Customers can select COD and confirm the order.

## Customer Experience

The flow below displays how customers can view and select **Cash on Delivery** during Checkout:

<img src="https://razorpay.com/docs/build/browser/assets/images/payment-methods-cod.gif" alt="COD on checkout - customer experience" width="800" />

### Related Information

* [COD on Standard Checkout](/docs/payments/payment-gateway/web-integration/standard/cod)
* [Payment Configuration](/docs/payments/dashboard/account-settings/payment-configuration#configure-payment-options)
