Skip to main content
Available in🇮🇳 India
Watch Out!This is an on-demand feature. Write to us at magic-checkout-support@razorpay.com 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.

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:
Handy TipsIf you are an existing Razorpay user, you can directly begin the integration process from step 4.
  1. Sign up for a Razorpay account.
  2. 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.
  3. Create a Shopify account.
  4. Install Razorpay - Cash on Delivery from the Shopify app store. Shopify App Install
Handy TipsIf you have multiple stores, select the store for which you want to install Razorpay - Cash on Delivery.
  1. You will be redirected to Shopify home screen. Click Install app. Shopify Install You will be redirected to a landing page. Click I am an existing user. Existing Merchant Shopify
  2. 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.
Shopify login
  1. Click Activate Razorpay - Cash on Delivery on the activation screen on your Shopify Dashboard.
    Shopify Authorize
Razorpay - Cash on Delivery now appears as a Payment Gateway on your Shopify Store checkout.
Shopify CheckoutThis completes your integration. For more information, see Shopify FAQs.

2. Test Integration

After the integration is complete, follow the steps given below:
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 Shopify store.
  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
  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.
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.

3. Go-live Checklist

Follow these steps before taking the integration live:
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 Shopify store.
  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.

Support

Queries: If you have queries, raise a ticket on the Razorpay Support Portal Shopify - All-in-one Razorpay Payment Gateway