Razorpay¶
Razorpay is an online payments provider established in India and covering more than 100 payment methods.
Configuration on Razorpay Dashboard¶
Log into Razorpay Dashboard and go to . Generate the new keys and copy the values of the Key Id and Secret Key fields and save them for later.
- Go to Create New Webhook, and enter your Odoo database URL followed by, click on
/payment/razorpay/webhook
in the Webhook URL text field.For example:https://example.odoo.com/payment/razorpay/webhook
. Fill the Secret field with a password of your choice and save it for later.
Make sure the payment.authorized, payment.captured, payment.failed, refund.failed and refund.processed checkboxes are ticked.
Click on Create Webhook to finalize the configuration.
Important
The Recurring payments feature must be activated if you want to make recurring payments. Send a request to the Razorpay Support team to enable recurring payments.
Configuration on Odoo¶
Navigate to the payment provider Razorpay and change its state to Enabled.
In the Credentials tab, fill the Key Id, Key Secret, and Webhook Secret with the values you saved at the step Configuration on Razorpay Dashboard.
Configure the rest of the options to your liking.
Important
If you configure Odoo to capture amounts manually:
Be aware that the manual voiding of a transaction is not supported by Razorpay.
After five days, if the transaction hasn’t been captured yet, it’ll automatically be voided.
See also