Razorpay Integration for ERPNext v15
This integration depends on the ERPNext Healthcare module.
install the app by running the following command:
bench get-app https://github.com/SoftServedWeb-com/razorpay_erpnext.git
bench --site <site-name> install-app razorpay_erpnext
To configure the Razorpay Integration, follow these steps:
- Navigate to the Razorpay Integration Doctype.
- Set the following keys:
RAZORPAY_KEY_ID
RAZORPAY_KEY_SECRET
RAZORPAY_WEBHOOK_SECRET
- For the webhook, use the following URL:
Ensure the event
https://<site-name>/api/method/razorpay_erpnext.razorpay_erpnext.api.razorpay_webhook.handle_payment
paymentlink.paid
is set. - Create two accounts in the Razorpay Integration Doctype:
Razorpay Account
: This is where the money is debited fromReceiver Account
: This is where the money is credited to This is because once the sales invoice is credited to sales and debited from debtors (I assume customer)
- Create an account for Razorpay money transfer and configure this account in the Razorpay Integration Doctype.