
Changing the name of model payment.acquirer to payment.provider and everything that it touches. It is technically incorrect to use the term "acquirer" for systems that only provide a service of payment. After this commit the model payment.acquirer and everything related to it will be renamed to payment.provider. Task - 2842088 closes odoo/documentation#1981 Related: odoo/upgrade#3542 Related: odoo/odoo#90899 Related: odoo/enterprise#27131 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
48 lines
2.1 KiB
ReStructuredText
48 lines
2.1 KiB
ReStructuredText
========
|
|
Razorpay
|
|
========
|
|
|
|
`Razorpay <https://razorpay.com/>`_ is an online payments provider established in India and
|
|
covering more than 100 payment methods.
|
|
|
|
.. _payment_providers/razorpay/configure_dashboard:
|
|
|
|
Configuration on Razorpay Dashboard
|
|
===================================
|
|
|
|
#. Log into `Razorpay Dashboard <https://dashboard.razorpay.com/>`_ and go to
|
|
:menuselection:`Settings --> API Keys`. Generate the new keys and copy the values of the
|
|
:guilabel:`Key Id` and :guilabel:`Secret Key` fields and save them for later.
|
|
#. | Go to :menuselection:`Settings --> Webhooks`, click on :guilabel:`Create New Webhook`,
|
|
and enter your Odoo database URL followed by `/payment/razorpay/webhook` in
|
|
the :guilabel:`Webhook URL` text field.
|
|
| For example: `https://example.odoo.com/payment/razorpay/webhook`.
|
|
#. Fill the :guilabel:`Secret` field with a password of your choice and save it for later.
|
|
#. Make sure the :guilabel:`payment.authorized`, :guilabel:`payment.captured`,
|
|
:guilabel:`payment.failed`, :guilabel:`refund.failed` and :guilabel:`refund.processed`
|
|
checkboxes are ticked.
|
|
#. Click on :guilabel:`Create Webhook` to finalize the configuration.
|
|
|
|
.. _payment_providers/razorpay/configure_odoo:
|
|
|
|
Configuration on Odoo
|
|
=====================
|
|
|
|
#. :ref:`Navigate to the payment provider Razorpay <payment_providers/add_new>` and change its
|
|
state to :guilabel:`Enabled`.
|
|
#. In the :guilabel:`Credentials` tab, fill the :guilabel:`Key Id`, :guilabel:`Key Secret`, and
|
|
:guilabel:`Webhook Secret` with the values you saved at the step
|
|
:ref:`payment_providers/razorpay/configure_dashboard`.
|
|
#. Configure the rest of the options to your liking.
|
|
|
|
.. important::
|
|
- If you configure Odoo to capture amounts manually, make sure to set the
|
|
:guilabel:`Manual Capture` to :guilabel:`manual` on Razorpay. Otherwise, the transaction
|
|
would be blocked in the authorized state in Odoo. To do so, go to your Razorpay Dashboard and
|
|
then to :menuselection:`Settings --> Configuration`.
|
|
- After **five days**, if the transaction hasn't been captured yet, the customer has the right
|
|
to **revoke** it.
|
|
|
|
.. seealso::
|
|
- :doc:`../payment_providers`
|