Razorpay

Razorpay is an online payments provider established in India that supports more than 100 payment methods.

Create a Razorpay account with Odoo (Indian companies only)

참고

  • This method is only available for Indian companies.

  • This flow does not support the test mode.

  1. Navigate to the Razorpay payment provider and click Connect.

  2. Go through the account creation process and enter the verification codes when prompted.

    If you already have a Razorpay account, enter your Razorpay credentials, select the account you want to link to your Odoo database (if applicable), then click Continue.

  3. At the end of the process, click Authorize. If all required information has been submitted, you are then redirected to Odoo, and the payment provider is Enabled.

Manual credentials and webhook input

Razorpay configuration

  1. Create a Razorpay account if necessary and log into the Razorpay Dashboard.

  2. Go to the Payments tab at the top of the page.

  3. Toggle the Test Mode switch in the left menu to try the integration without charging customers. Toggle it off once you are ready to accept real payments.

  4. Click Account & Settings in the left menu, then, under Website and app settings, select API Keys.

  5. Copy the values of the Key Id and Secret Key fields and save them for later.

  6. Click Account & Settings in the left menu, then, under Website and app settings, select Webhooks.

  7. Click Add New Webhook, then enter your Odoo database URL followed by /payment/razorpay/webhook in the Webhook URL field.
    예: https://example.odoo.com/payment/razorpay/webhook
  8. 비밀번호 필드를 원하는 비밀번호을 입력한 후 나중에 사용할 수 있도록 저장합니다.

  9. Enable the following events: payment.authorized, payment.captured, payment.failed, refund.failed, and refund.processed.

  10. Click Create Webhook to finalize the configuration.

중요

The Recurring payments feature must be activated to accept recurring payments. To enable this feature, submit a request to the Razorpay Support team.

Odoo 환경설정

  1. Activate developer mode.

  2. Navigate to the Razorpay payment provider.

  3. In the Credentials tab, fill the Key Id, Key Secret, and Webhook Secret with the values you saved during Razorpay configuration.

  4. Configure the remaining options as needed.

  5. Set the State field to Enabled (or Test Mode if you are trying Razorpay as a test).

중요

If you configure Odoo to capture amounts manually:

  • Manual voiding of a transaction is not supported by Razorpay.

  • Transactions that remain uncaptured for more than five days are automatically voided.

더 보기

온라인 결제