anandsiddharth / laravel-paytm-wallet

Integrate paytm wallet in your laravel application easily with this package. This package uses official Paytm PHP SDK's.
MIT License
92 stars 40 forks source link

INVALID CHECKSUM: There is a serious issue, when the transaction is failed from bank side #44

Open dalpat opened 4 years ago

dalpat commented 4 years ago

This issue has been posted many times by users, please take it seriously. Whenever the transaction is successful from bankside it works fine, however when the transaction is declined or failed from bank side, it always says, INVALID CHECKSUM.

Hope you understand

AhmedSayedSk commented 3 years ago

I'm facing the same issue.

vanshaj1 commented 2 years ago

I was facing same error then i did dd($transaction) at the callback function then i found that i was sending half merchant key to Paytm for validation . There at the callback I was sending half merchant key It was happening because in the env file i wrote my merchant key without any quotes . Basically normally it is not needed to do use double quote but if you check in your merchant key you will get that # is there in your merchant key ( # is used for single line comment in php) so env is getting half of the merchant key as the comment so if you use double quotes there then you error will get resolved . In my case error was only because of this . Hope this will help