Available in🇮🇳 India
Before you proceed:
- Sign up for Razorpay account
- Sign up for a Shopify account.
1. Build Integration
Install and configure the Shopify COD plugin.
2. Test Integration
Test the integration by making a test payment.
3. Go-Live Checklist
Check the go-live checklist.
1. Build Integration
Follow the steps given below:1 Integration Steps
1 Integration Steps
Handy TipsIf you are an existing Razorpay user, you can directly begin the integration process from step 4.
- Sign up for a Razorpay account.
- Submit your KYC, and if we need any further clarification, we will reach out to you on WhatsApp, SMS and email. Once our team completes KYC verification and you are enabled to accept payments, we will send a confirmation on WhatsApp, SMS and email.
- Create a Shopify account.
- Install Razorpay - Cash on Delivery from the Shopify app store.
Handy TipsIf you have multiple stores, select the store for which you want to install Razorpay - Cash on Delivery.
- You will be redirected to Shopify home screen. Click Install app.
You will be redirected to a landing page. Click I am an existing user.
- Scroll down and click Login. Log in to the Razorpay Dashboard.
Handy TipsMake sure you log in with owner credentials to connect Razorpay with Shopify successfully.

- Click Activate Razorpay - Cash on Delivery on the activation screen on your Shopify Dashboard.
This completes your integration. For more information, see Shopify FAQs.2. Test Integration
After the integration is complete, follow the steps given below:1 Enable Test Mode in Shopify Dashboard
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:
Follow the steps given below to test a transaction:
- Log in to Shopify store.
- Navigate to Settings → Payments.
- Click Manage on the Razorpay - Cash on Delivery app on the Supported payment methods section.
- Select Enable test mode and click Save.
2 Make a Test Payment
2 Make a Test Payment
- Click Buy it now.
- Fill in your Contact and Delivery details.
Select Cash on Delivery as Payment method and select Billing address.
- Click Pay now and the order is placed.
3 Verify Payment Status
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
- Log in to the Dashboard and navigate to Transactions → Payments.
- Check if a
payment_IDhas been generated and note the status. In case of a successful payment, the status is marked ascaptured.
3. Go-live Checklist
Follow these steps before taking the integration live:1 Switch from Test mode to Live mode
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:
- Log in to your Shopify store.
- Navigate to Settings → Payments.
- On the Supported payment methods section, click Manage on the Razorpay - Cash on Delivery app.
- Clear Enable test mode and click Save.