What is Magento?

Magento is an ecommerce platform built using open source technology. Magento provides online merchants a flexible shopping cart system, as well as control over the look, content and functionality of their online store.

Magento with Paytm

Integrating your Magento Webstore with Paytm allows you to accept payments using Paytm Payment Gateway. You can accept payments via Debit Card, Credit Card, Net Banking (supports 3D Secure), UPI or through Paytm wallet. The extension offers smooth integration, allowing the customer to pay on your website. This extension works across all browsers and ensures compatibility with the latest versions of Magento.



  1. Download a ZIP of the repository.

    Paytm Magento kit
  2. Unzip and open the downloaded folder.

  3. Copy the app/code/One97 folder from the Magento 2.3x version.

  4. Paste and merge it into the Magento Webstore root folder.

  5. Run below command from Magento Webstore folder:

    • php bin/magento module:enable One97_Paytm
    • php bin/magento setup:upgrade
    • php bin/magento setup:static-content:deploy
  6. After installation, proceed to configuration.



  1. Log into your Magento Webstore Admin.

  2. Navigate to the Admin Panel then to Store->Configuration->Sales->Payment Method

  3. Save below configuration in Paytm Gateway Extension

    • Enabled - Yes
    • New Order Status - Processing
    • Title - Paytm PG
    • Generate invoice automatically - Invoice is to be generated or not
    • Merchant ID - MID provided by Paytm
    • Merchant Key - Key provided by Paytm
    • Environment mode - Select type of environment.
    • Website Name - Enter your Website Name provided by Paytm.
    • Industry Type Id - Eg. Retail, Entertainment etc.
  4. In System select Cache Management, now click on Flush Magento Cache.

  5. Your Paytm payment gateway is enabled . Now you can accept payment through Paytm.

Note: If you have Linux server, please make sure folder permissions are set to 755 & file permissions to 644

How to generate API Key?

To generate API Key:

  1. Log into your Dashboard.
  2. Select API Keys under Developers in left menu
  3. Now select the mode for which you want to generate the API Key from the menu.
  4. Click Generate Key to generate key for the test mode and in case of Live mode first activate account by submitting documents then generate key by clicking on Generate Key.

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

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