pragmatist-strategist / Paytm-Transaction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisite

  1. Provide the value for PAYTM_MERCHANT_KEY in /lib/config_paytm.php file. (The value for MERCHANT_KEY will be provided after the onboarding process is completed).

Installation steps

  1. The generateChecksum.php file uses the /lib/encdec_paytm.php file and provides the module to generate the checksum. Copy these files to the location on your server which will be used for the Checksum Generation URL.
  2. The verifyChecksum.php file uses the /lib/encdec_paytm.php file and provides the module to verify the checksum. Copy these files to the location on your server which will be used for the Checksum Verify URL.
  3. Copy the /lib folder into the same directory as the generateChecksum.php and verifyChecksum.php.

For Offline(Wallet Api) Checksum Utility below are the methods:

  1. getChecksumFromString : For generating the checksum
  2. verifychecksum_eFromStr : For verifing the checksum

About


Languages

Language:PHP 100.0%