Here is a solution for everyone:
Be sure to send an equal number of parameters to your server (for the checksum generator), and then to the paytm server for payment.
For example: If you send 6 parameters for a checksum generator, send these 6 identical parameters, including Checksum, to Paytm ... This will solve your problem.
CODE EXAMPLE:
#Generate checksum.php $paramList = array(); $paramList["MID"] = 'Provided by Paytm'; //Provided by Paytm $paramList["ORDER_ID"] = 'hIquwhzvzTG7gvT'; //unique OrderId for every request $paramList["CUST_ID"] = 'CUST0001453'; // unique customer identifier $paramList["INDUSTRY_TYPE_ID"] = 'Retail'; //Provided by Paytm $paramList["CHANNEL_ID"] = 'WAP'; //Provided by Paytm $paramList["TXN_AMOUNT"] = '10.00'; // transaction amount $paramList["WEBSITE"] = 'APP_STAGING';//Provided by Paytm $paramList["CALLBACK_URL"] = 'https://pguat.paytm.com/paytmchecksum/paytmCallback.jsp';
NOTE. Please keep in mind to send exact paytm server parameters plus one checksum .....
source share