adityaraval/paytm-integration-nodejs-express

Can not generate receipt after successful sending request

kamal0003 opened this issue · 6 comments

hello, i am facing a problem that after successful sending request to paytm gateway. It did not generate receipt can you please help me in this

is there any problem in rendering response.ejs?

Inside server.js
on line 37
replace below line
res.render("response.ejs", {resultData: "true", responseData: success});
with
res.send(success);

And check what kind of response is being sent by paytm.

There must be some small mistake you are doing, just try to debug in each and every steps so you can find issue occurring at exact place.