Shopify Integration

Shopify is a powerful SaaS (software as a service) platform providing end-to-end eCommerce solutions to create customizable and fully-featured online stores within minutes. Its hosted solution and various marketing tools make it a good choice for various merchants, from new entrepreneurs to those aiming at a significant expansion.

Paytm’s integration with your Shopify store assists you to accept payments online offering a wider choice of payment options to your customers such as Paytm Wallet, Debit Card, Credit card, Netbanking (supports 3D Secure), and UPI. 


Before you begin the integration, make sure you have a registered business account with Paytm. To create the same, refer to the section Generate your API Keys.


Generate your API keys with Paytm

  1. You have to generate separate API Keys for the test and live modes. No money is deducted from your account in test mode.
  2. MID and merchant keys generation may take few minutes. In case you do not see these details, please logout and login after 5 minutes. Proceed now to generate these keys.

Integrate your Shopify store with Paytm

This section describes how to integrate your Shopify store with Paytm Payment Gateway to accept payment from a customer.


To get started,

  1. Log into your Shopify account and select Setting at the bottom left corner of the screen.
  2. Select Payments.

    The Payment Providers screen outlines the various payment options available for integration with your online store.
    Note: The S2S Callback URL required by the Paytm onboarding representative to initiate the Payment Gateway Integration will be provided by Shopify on the same page.
  3. Click the Choose alternate payment button under Alternative payment methods.

    alternative payment providers
  4. Select Paytm and it takes you to the Paytm Payment setup screen.

    payment providers

    You can also type Paytm on the Search bar to scale down your search of the desired Payment method.

    account information
  6. Under the Accepted Payments pane, select the payment methods that you want to be supported by the Payment Gateway.
  7. Select the Enable test mode check box, if you want to test the Paytm set up by simulating successful and failed transactions.

    1. With "Enable test mode" as checked, the transactions are routed to the Paytm staging/integration environment. No payment is deducted from the payment instruments with this setting on.
    2. To process the live transactions, uncheck the "Enable test mode" and change the account information with production credentials
  8. Click the Activate Paytm button to activate the Paytm Payment Gateway.

Webhook configuration

To configure the Shopify S2S URL, follow the steps below:

  1. Go to your Shopify account and select Payment Providers under the Settings.
  2. Go to Alternative Payments and click the edit icon () next to Paytm.

    This opens the S2S URL.

  3. Copy the webhook URL obtained in the image above and define the same in the Payment notification URL on the Paytm merchant dashboard.

In case of any issues with integration, please Get in touch.