Pular para o conteúdo
Documentação do usuário

Razorpay

Razorpay é um provedor de pagamentos online estabelecido na Índia que suporta mais de 100 métodos de pagamento.

Criar uma conta Razorpay com Odoo (apenas empresas indianas)

  1. Navigate to the Razorpay payment provider <payment_providers/supported_providers> and click Connect.

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

    Se você já possui uma conta Razorpay, insira suas credenciais do Razorpay, selecione a conta que deseja vincular ao seu banco de dados Odoo (se aplicável) e clique em 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.

Entrada manual de credenciais e webhook

Configuração do Razorpay

  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.
    For example: https://example.odoo.com/payment/razorpay/webhook.
  8. Fill the Secret field with a password of your choice and save it for later.

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

  10. Click Create Webhook to finalize the configuration.

Configuração do Odoo

  1. Activate developer mode <developer-mode>.

  2. Navigate to the Razorpay payment provider <payment_providers/add_new>.

  3. In the Credentials tab, fill the Key Id, Key Secret, and Webhook Secret with the values you saved during payment_providers/razorpay/configure_dashboard.

  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 <payment_providers/test-mode>).

Veja também:
ON THIS PAGE