Integration Steps

Steps to integrate the Razorpay Payment Gateway with Shopify - Cash on Delivery.


Watch Out!

This is an on-demand feature. Write to us at

to integrate Razorpay - Cash on Delivery with your Shopify website.

Before you proceed:

Follow the steps given below to integrate your Shopify website with the Razorpay - Cash on Delivery plugin.

Follow the steps given below:

1.1 Integration Steps

After the integration is complete, follow the steps given below:

2.1 Enable Test Mode in Shopify Dashboard

After the integration is complete, you need to ensure the integration is working as expected. You can start accepting actual payments once the test mode transaction is successful.

Follow the steps given below to test a transaction:

  1. Log in to .
  2. Navigate to SettingsPayments.
  3. Click Manage on the Razorpay - Cash on Delivery app on the Supported payment methods section.
    Shopify go live v2
  4. Select Enable test mode and click Save.
    Shopify go live v2 save test

2.2 Make a Test Payment

  1. Click Buy it now.
    Shopify checkout
  2. Fill in your Contact and Delivery details.
    Shopify contact details
    Select Cash on Delivery as Payment method and select Billing address.
    Shopify contact details
  3. Click Pay now and the order is placed.

2.3 Verify Payment Status

You can track the payment status from the Razorpay Dashboard, subscribe to the Webhook event or poll our APIs.

Verify Payment Status From Dashboard

  1. Log in to the Dashboard and navigate to TransactionsPayments.
  2. Check if a payment_ID has been generated and note the status. In case of a successful payment, the status is marked as captured.

Follow these steps before taking the integration live:

3.1 Switch from Test mode to Live mode

You can perform an end-to-end simulation of funds flow in the Test Mode. Once confident that the installation and integration is working as expected, switch to the Live Mode and start accepting payments from customers.

To switch from Test Mode to Live Mode:

  1. Log in to your .
  2. Navigate to SettingsPayments.
  3. On the Supported payment methods section, click Manage on the Razorpay - Cash on Delivery app.
    Shopify go live v2
  4. Clear Enable test mode and click Save.
    Shopify go live v2 save

You can now start accepting actual payments on your Shopify store.

Queries: If you have queries, raise a ticket on the


Was this page helpful?


shopify cod integration
prerequisites
build
test
go-live