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

Handy Tips

If you are an existing Razorpay user, you can directly begin the integration process from step 4.

  1. 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

    .

  4. Install

    from the Shopify app store.

    Shopify App Install

    Handy Tips

    If you have multiple stores, select the store for which you want to install the Razoarpay - Cash on Delivery.

  5. 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
  6. Scroll down and click Login. Log in to the Razorpay Dashboard.

    Handy Tips

    Make sure you log in with owner credentials to connect Razorpay with Shopify successfully.

    Shopify login
  7. 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 Checkout

This completes your integration. For more information, see

.

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 menthod 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 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