adityaraval/paytm-integration-nodejs-express

Syntax of checksumhash has changed

Closed this issue · 0 comments

Describe the bug
Function definition of verifychecksum(params, key) has changed, so when the endpoint redirects to paytm, it throws the error about checksumhash. See screenshot below.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project
  2. run npm install
  3. create and fill the .env file
  4. run npm start
  5. open http://localhost:4000/paywithpaytm?amount=10
  6. See error for checksum

Expected behavior
It has to go to payment successfully.

Screenshots
image

Desktop (please complete the following information):

  • OS: OS X Catalina
  • Browser Chrome 78