search

Payment Gateway Integration in Magento

What is Magento?

Magento is an eCommerce platform built using open source technology. This platform 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 Paytm Wallet. This extension offers smooth integration, allowing the customer to pay on your website.

 

Before you begin to integrate the Paytm Payment Gateway on Magento webstore, 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

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

This extension works across all browsers and ensures compatibility with the latest versions of Magento.

 

Installation

  1. Download a ZIP of the repository.
     

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

  3. Copy app/code/One97 folder from the Magento_V2.3+ version.

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

  5. Run the command below 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 for configuration.

Configuration

Note: This plugin supports EMI Subvention and Bank offers, please reach out to us through Contact Us or your KAM to enable EMI Subvention and Bank Offers for your MID.
  1. Log into your Magento Webstore Admin.

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

    magento_stores
  3. Save the configuration below in Paytm Gateway Extension.

    magento_configuration
    • Enabled - Yes
    • Note: You can refer the Merchant Dashboard for the following parameters.

    • Environment mode - Select the type of environment

    • Test/Production Merchant ID - MID provided by Paytm

    • Test/Production Merchant Key - Merchant Key provided by Paytm
    • Website (Provided by Paytm) - Enter your Website Name provided by Paytm
    • Success Order Status - Processing
    • Failed Order Status - Canceled
    • Sort Order - Sort order
    • Payment from Applicable Countries - All Allowed Countries is selected by default.
    • Payment from Specific Countries - Select specific country
    • Enable Webhook - Select "Yes"  to enable Webhook
    • Enable EMI Subvention - Select "Yes" to provide Zero/Low cost EMI
    • Enable Bank Offer - Select "Yes"  to provide Bank Offers
    • Enable DC EMI - Select "Yes" to provide EMI on Debit Card
      Note:This plugin supports Debit Card EMI, send us the user mobile number in order to check the user’s Debit Card EMI eligibility and show the applicable banks name.
    • Enable Invert Logo - Select "Yes" to enable invert logo.
  4. In System, select Cache Management, then 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 the folder permissions are set to 755 & file permissions to 644.

Installation

  1. Download a ZIP of the repository.
     

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

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

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

  5. Run the command below 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.

Configuration

  1. Log into your Magento Webstore Admin.

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

    magento_stores
  3. Save the configuration below in Paytm Gateway Extension.

    magento_configuration
    • Enable Plugin - Yes
    • Success Order Status - Processing
    • Fail Order Status - Canceled
    • Title - Paytm PG
    • Note: You can refer the Merchant Dashboard for the following parameters.

    • Merchant ID - MID provided by Paytm

    • Merchant Key - Key provided by Paytm
    • Environment mode - Select the type of environment.
    • Website Name - Enter your Website Name provided by Paytm.
    • Industry Type Id - Type of industry such as Retail, Entertainment, etc.
  4. In System, select Cache Management, and then click 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 the folder permissions are set to 755 & file permissions to 644.

Installation

  1. Download a ZIP of the repository.
     

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

  3. Copy the app and skin folder from required Magento 1.x version.

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

  5. Login to the Magento Webstore Admin.

  6. In Admin Panel, go to System, then select Cache Management, and then click on Flush Magento Cache.

  7. After installation, proceed to configuration.

Configuration

  1. Log into your Magento Webstore Admin.

  2. Navigate to System > Configuration, then select Payment Methods and then edit Paytm gateway extension.
     

    magento admin Panel
  3. Save the configuration below.

    magento payment methods
    • Enable Plugin - Yes
    • Success Transaction Status - Processing
    • Fail Transaction Status - Canceled
    • Note: You can refer the Merchant Dashboard for the following parameters.

    • Merchant ID - MID provided by Paytm

    • Merchant Key - Key provided by Paytm
    • Transaction Environment - Select the type of environment
    • Website Name - Enter your Website Name provided by Paytm
    • Industry Type Id - Type of industry such as Retail, Entertainment, etc.
  4. Your Paytm Payment Gateway is enabled. Now you can accept payment through Paytm.

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