https://github.com/web-dev-nav/paytm_standard_checkout_demo
https://github.com/web-dev-nav/paytm_standard_checkout_demo
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/web-dev-nav/paytm_standard_checkout_demo
- Owner: web-dev-nav
- Created: 2022-08-27T10:02:01.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T10:02:08.000Z (almost 4 years ago)
- Last Synced: 2025-06-17T06:04:04.462Z (12 months ago)
- Language: PHP
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to install the sample test files on a local web server:(wamp/xampp)
1. Copy zip file in document root of your server (like /var/www/)
2. login to https://business.paytm.com/ and https://dashboard.paytm.com/next/apikeys to find your test api keys.
2. Open config_paytm.php file from the lib folder and update the below constant values.
- PAYTM_MERCHANT_KEY – Provided by Paytm
- PAYTM_MERCHANT_MID - Provided by Paytm
- PAYTM_MERCHANT_WEBSITE - Provided by Paytm (Ex: WEBSTAGING for test details)
3. files:
- Kart.php – Testing transaction through Paytm gateway.
- pgRedirect.php – This file has the logic of checksum generation and passing all required parameters to Paytm PG.
- callback.php – This file has the logic for processing PG response after the transaction processing.
- search.php – Testing Status Query API
- refund.php - This file has a logic to refund the full or partial amount to the client which had previously made. (Note: This file works on curl method and required live web server. free webserver: https://000webhost.com
# Video installation demo:
You can watch here: https://youtu.be/gvpShOeYd5k
# For Offline(Wallet Api) Checksum Utility below are the methods:
1. getChecksumFromString : For generating the checksum
2. verifychecksum_eFromStr : For verifing the checksum
Example code can be find out here: https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_PHP