[Free/OS] Paytm Payment API Custom Amount

Today I am Going to Make a guide to Make Payment in Paytm Payment Gateway API

Description

This Method Creates Payment In Paytm Without OCR

Steps For Test Payment

  1. Create An Account in Paytm Business

  2. After Creating Sign In With Your Password and Email/Phone Number

  3. It would ask OTP

4.Paytm Dashboard Would Appear

5.Click On Developer Settings

  1. Click on API Keys

  2. Click On Generate Test API Keys
    image

  3. After generating Merchant Id And Merchant Keys
    Copy The Details To Notepad

9a. Edit The Details in \Downloads\Paytm_Web_Sample_Kit_PHPmaster\Paytm_Web_Sample_Kit_PHP-master\PaytmKit\lib\config_paytm.php

9b Upload To Your Hosting The Full Script
I use AwardSpace

File structure


Steps For Production Payment

  1. Create An Account in Paytm Business

  2. After Creating Sign In With Your Password and Email/Phone Number

  3. It would ask OTP

4.Paytm Dashboard Would Appear

5.Click On Developer Settings

  1. Click on API Keys

  2. Click On Generate Production API Keys

  3. After generating Merchant Id And Merchant Keys
    Copy The Details To Notepad

9a. Edit The Details in \Downloads\Paytm_Web_Sample_Kit_PHPmaster\Paytm_Web_Sample_Kit_PHP-master\PaytmKit\lib\config_paytm.php

9b. Upload To Your Hosting The Full Script
I use AwardSpace
image

Blocks

Blocks Are Same For Both Test and Production
Updates There Was Bug Which Is Now Fixed


Also Set the Time Fires and Enabled to False
and set the Time to 1

Script

Test : PaytmTestScript.zip (6.3 KB)
Production : PaytmProductionScript.zip (6.4 KB)

GitHub Repo

Have Issue

Reply here or create an issue in GitHub

Liked Work

Hit the Like button and click on star button GitHub Repo

License

This Project is Licensed Under Creative Commons Zero v1.0 Universal

Credits

Paytm by @One97
Custom WebView by @vknow360
:kodular:odular by @Kodular
Appetize.io By @Appetize
AwardSpace By @AwardSpace
Paytm Code Modified From Paytm-Payments/Paytm_Web_Sample_Kit_PHP (github.com)

Other Payment Gateway Projects

Update Log

Logs

Version 1.1

Redirecting Bug Fixed

I would Recommend To Use My extension Which Simplifies the Work

[Free/OS] Paytm Payment API Based Extension - Extensions - Kodular Community

9 Likes

Good guide… I hope it will be really useful for Indian users .

:clap: :clap: :heart:

2 Likes

Nice guide, Very nice work :partying_face: :heartbeat:

1 Like

Can you share an aia file to so that we can understand your success block

With Extension Or This One

I found a flow in this extension…i don’t this this will work for long. even I can bypass it.