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.


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

Multi Currency Support#

Since we only support INR as the base currency at this point, if you would like to help your international customers, you can do the following:

  1. Set your shop's base currency to INR.
  2. Ensure all your products are priced correctly in INR.
  3. Install the Auto Currency Switcher app on your Shopify website.
  4. Follow the instructions to set up the Auto Currency Switcher.

Sample Configuration Screens#

  • Navigate to the Admin Panel --> Settings --> General. This is how our config is setup on the Demo website:

  • Navigate to the Online option --> Themes --> Customize Theme --> Money Options. This is how the Money Options page looks in our theme configuration:

  • Scroll down on the Money Options page. You can add more currencies here, if you wish to support more countries.

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 <key_id> and <key_secret>, you need to re-generate them from the Dashboard and replace it wherever required.

You have to generate separate <key_id> and <key_secret> for your test and live mode. No money is deducted from your account in test mode.