Troubleshooting & FAQs

Troubleshoot common error scenarios and find answers to frequently asked questions about Razorpay Node.js SDK.


1. I have configured the payment method. But, I still see the following error message, payment method is not configured. How do I fix this?

This error may also appear if the API key ID is not added to the checkout code. Check and add the API key ID.

2. I got an error saying id is not valid. Which id do I look for?

If the order id is not replaced in the checkout code, the id is not valid error appears. Replace the order id.

The order_id is available in following code:

3. Can I integrate Razorpay Checkout with React.js?

Yes, you can integrate the Razorpay Payment Gateway with React.js. Follow the

and to add a pay button use the React.js sample code given below:

4. While installing the SDK, I encountered an error "Please verify that the package.json has a valid main entry." How do I fix this?

This error may occur due to the installation process. Try re-installing npm by deleting the node modules folder and running npm i.


Is this integration guide useful?


node.js
troubleshooting
faqs
node.js sdk
server