Shopify Integration

Shopify is a cloud-based, multi channel ecommerce platform that offers a wide range of customizable features to open your own online store.

Integrating your Shopify store with Razorpay enables you to accept payments via the Razorpay Payment Gateway. You can accept payments via debit card, credit card, netbanking (supports 3D Secure), UPI or through any of our supported wallets.

The plugin offers seamless integration, allowing the customer to pay on your website without being redirected. This allows the plugin to work across all browsers.

Demo Link#

  • To test out the Shopify integration with Razorpay, you can make test purchases (without paying) on our Shopify Test Store.

  • To test out the international currency support on the Shopify integration with Razorpay, you can make test purchases (without paying) on our Shopify International Test Store.


We have added an automated integration feature for Shopify stores across India. To integrate your Shopify Store with Razorpay:

  1. Sign into your Shopify store.
  2. Click the Settings tab, then to the Payments tab and to the Alternative Payments section.
  3. Select Razorpay from the drop down list.

  4. Enter the test mode <key_id> and <key_secret>. These can be generated from your Dashboard.

  5. Click Activate. This activates your account in Test Mode. You can use this account to make a few test payments to ensure a successful workflow. Note:
    - In “Test Mode”, no real money will be deducted from your account.
    - You can keep the "Test Mode" checkbox as off in Shopify settings, if you see one.

Live Transactions#

Account Activation:
Your Razorpay account needs to be activated successfully before you can use the live API keys.

To accept live transactions:

  1. Log into your Razorpay account and generate <key_id> and <key_secret> in the Live Mode.
  2. Log into your Shopify store. You will see Razorpay under the Accept Credit Cards category.
  3. Click Edit and replace the old <key_id> and <key_secret> with the live mode <key_id> and <key_secret>.

Generate API Key#

To generate API key:

  1. Log into your Dashboard.
  2. Select the mode for which you want to generate the API key from the menu ribbon.

  3. Navigate to Settings.
  4. Click API Keys.
  5. Click Generate Key to generate key for the selected mode.

The Key Id and Key secret appear in a pop-out window. You also have the option to download the Key Details.

After generating the keys from the Dashboard, download and save them securely. If you do not remember your API Keys, you need to re-generate it from the Dashboard and replace it wherever required.

You have to generate separate API Keys for the test and live mode. No money is deducted from your account in test mode.