paytm-magento integration guide

13
Paytm-Magento Integration Guide 10.02.2020

Upload: others

Post on 27-Apr-2022

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Paytm-Magento Integration Guide

   

 

Paytm-Magento Integration Guide 

10.02.2020

 

 

 

 

Page 2: Paytm-Magento Integration Guide

 

Disclaimer The information contained herein is confidential and proprietary to One97 Communications Ltd. This 

document is issued to the recipient(s) only and contains unpublished trade secret information. The 

recipient(s) may not change, reproduce or circulate part or whole of the information in this document 

without the written permission of One97 Communications Ltd. 

Copyright@2020 one97 communications Ltd.     Page 2 

Page 3: Paytm-Magento Integration Guide

 

Table of Contents 

Paytm Magento Integration Solution 4 

What is Magento? 4 

Magento with Paytm 4 

Magento 2.3x 4 

Installation 4 

Configuration 5 

Magento 2.x 8 

Installation 8 

Configuration 9 

Magento 1.x 10 

Installation 10 

Configuration 10 

How to generate API Key? 12 

Paytm Support 13 

 

Copyright@2020 one97 communications Ltd.     Page 3 

Page 4: Paytm-Magento Integration Guide

 

Paytm Magento Integration Solution 

What is Magento? Magento is an eCommerce platform built using open source technology. This platform provides online 

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

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

Magento 2.3x 

Installation 1. Download a ZIP of the repository. 

Copyright@2020 one97 communications Ltd.     Page 4 

Page 5: Paytm-Magento Integration Guide

 

2. Unzip and open the downloaded folder. 

3. Copy app/code/One97 folder from the Magento 2.3x 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 1. Log into your Magento Webstore Admin. 

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

Copyright@2020 one97 communications Ltd.     Page 5 

Page 6: Paytm-Magento Integration Guide

 

 

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

Copyright@2020 one97 communications Ltd.     Page 6 

Page 7: Paytm-Magento Integration Guide

 

● 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 

Copyright@2020 one97 communications Ltd.     Page 7 

Page 8: Paytm-Magento Integration Guide

 

● Environment mode - Select the type of environment 

● Website Name - Enter your Website Name provided by Paytm 

● Industry Type Id - Select the type of industry such as Retail, Entertainment, etc. 

4. In System, select Cache Management, then click the Flush Magento Cache. 

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

 

Magento 2.x 

Installation 1. Download a ZIP of the repository. 

 

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. 

Copyright@2020 one97 communications Ltd.     Page 8 

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

permissions to 644. 

Page 9: Paytm-Magento Integration Guide

 

Configuration 1. Log into your Magento Webstore Admin. 

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

 

● Enable Plugin - Yes 

● Success Order Status - Processing 

● Fail Order Status - Canceled 

● 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 the type of environment. 

● Website Name - Enter your Website Name provided by Paytm. 

● Industry Type Id - Type of industry such as Retail, Entertainment, etc. 

3. Save the configuration below in Paytm Gateway Extension. 

4. In System, select Cache Management, and then click the Flush Magento Cache. 

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

Copyright@2020 one97 communications Ltd.     Page 9 

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

permissions to 644. 

Page 10: Paytm-Magento Integration Guide

 

Magento 1.x 

Installation 1. Download a ZIP of the repository. 

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

Copyright@2020 one97 communications Ltd.     Page 10 

Page 11: Paytm-Magento Integration Guide

 

3. Save the configurations below. 

● Enable Plugin - Yes 

● Success Transaction Status - Processing 

● Fail Transaction Status - Canceled 

● Title - Paytm PG 

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

Copyright@2020 one97 communications Ltd.     Page 11 

Page 12: Paytm-Magento Integration Guide

 

4. Your Paytm Payment Gateway is enabled. Now you can accept payment through Paytm. 

How to generate API Key? To generate API Key,  

1. Log into your Dashboard. 

2. Select the API Keys under Developers on the left menu bar. 

3. Select the mode for which you want to generate the API Key from the menu. 

4. Click Generate Key to generate a key for the test mode and in case of live mode, first activate the 

account by submitting documents and then generate a key by clicking Generate Key. 

 

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

   

Copyright@2020 one97 communications Ltd.     Page 12 

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

permissions to 644. 

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

your account in test mode. 

Page 13: Paytm-Magento Integration Guide

 

Paytm Support  

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

 

Copyright@2020 one97 communications Ltd.     Page 13