Zen Cart is a free PHP-based online store management system that helps you set-up and run your fully customizable online stores with loads of great features that make managing your store a breeze. It supports multiple payment processors and provides flexible coupon and discount functionality in collaboration with its advanced SEO functions.

Paytm’s integration with your Zencart platform assists you to accept payments online using Paytm Payment Gateway that facilitates 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.


Generate your API keys

To generate your API Keys,

  1. Log into the Paytm Dashboard and select API Keys on the left navigation bar.
  2. Select the mode for which you want to generate the API Key.
  3. To generate a key for the Test mode, click the Generate Key button. But, to generate a key for Live mode, you must activate the account first by submitting the required document and then click the Generate Key button.

Note: Users must generate separate API Keys for the Test and Live modes and no charges would be levied in case of Test mode.

Zencart with Paytm

This section describes how to integrate your Zencart platform with Paytm Payment Gateway plugin to accept payment from a customer.

Installation and Configuration

To get started,

  1. Download the Paytm integration plugin zip from here.
  2. Unzip the plugin folder and copy the following files in their respective folders based on the directory structure in the module.
    • PaytmChecksum, paytm_version.txt-: Put this file under "includes" directory.
    • paywithpaytm-: put this file under "includes/modules/payment" directory.
    • paytmlib-: put this folder under "includes/modules/payment" directory.
    • paywithpaytm(language file)-: put this file under "includes/languages/english/modules/payment"
  3. Log into your Zencart store using the admin credentials.

    The Zencart Admin Dashboard appears.

  4. On the main menu bar, go to Modules > Payment.


    The Payment Modules page outlines the list of integrated plugins and the plugin available for integration.

  5. In case of a new Paytm payment plugin, click    next to the PayWithPaytm module under the Action column.
  6. Click the  + Install Module  button.

    install module

    A Merchant Account Details form prompts on the right side of the screen.

    pay with paytm Refer Generate your API keys to get the account credentials. You can also visit to see the updated Paytm PG URL details.
  7. Click the Update button to update details.

For any issues with the integration, refer to Get in touch.