DEV Community

Discussion on: Integrate Razorpay Payment Gateway in your React app

Collapse
 
dibyajyotimishra profile image
DIBYAJYOTI MISHRA

Hi. I am getting undefined values of razorpayOrderId and razorpaySignature from the response while working on test mode. So the payment verification fails in the backend. I have been stuck at this for over a day now. Any help is highly appreciated.

Collapse
 
zuveriya4 profile image
Zuveriya4

have you solved it?? i have been stuck on the same

Collapse
 
loop36 profile image
Anand V Balagopalan

// middlewares
app.use(express.json({ extended: false }));

This line helped me when I had similar issue