Skip to main content
Handy TipsRazorpay Magic Checkout supports Cash on Delivery (COD) by default. For a simplified experience without the address section, use this flow that directly opens the payment page. Both flows support COD as a payment method.

Prerequisites

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.

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:
    json
    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.
Handy TipsMagic 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.
  1. 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: Payment Configuration