|
| 1 | +====== |
| 2 | +Xendit |
| 3 | +====== |
| 4 | + |
| 5 | +`Xendit <https://www.xendit.co>`_ is an Indonesian-based payment solution provider that covers |
| 6 | +several Southeast Asian countries, allowing businesses to accept payments in credit cards and |
| 7 | +several local payment methods. |
| 8 | + |
| 9 | +.. _payment_providers/xendit/configure_dashboard: |
| 10 | + |
| 11 | +Configuration on Xendit Dashboard |
| 12 | +================================= |
| 13 | + |
| 14 | +API Key |
| 15 | +------- |
| 16 | + |
| 17 | +#. Log into `Xendit Dashboard <https://dashboard.xendit.co>`_ with the account you have signed up |
| 18 | + with. |
| 19 | +#. | Check your account type from the top-left side of the webpage after login. |
| 20 | + :guilabel:`Test mode` is for you to try out the integration without actually charging your |
| 21 | + customers. Once you are ready to accept payments, you can switch to :guilabel:`Live mode`. |
| 22 | +#. | Go to :menuselection:`Configuration --> Settings --> Developers --> API Keys` to create your |
| 23 | + :guilabel:`secret keys`. Click on :guilabel:`Generate secret key`, put any API key name, and |
| 24 | + select :guilabel:`Write` for :guilabel:`Money-in Products` and leave it :guilabel:`None` for |
| 25 | + the rest to keep your data secured. Save this information securely. |
| 26 | + |
| 27 | +Webhook Token and Webhook URL |
| 28 | +----------------------------- |
| 29 | + |
| 30 | +#. On the same page, scroll down to find :guilabel:`Webhook Verification Token` section and the |
| 31 | + button :guilabel:`View Webhook Verification Token`. Click on it to generate your webhook token. |
| 32 | + Save this information securely. |
| 33 | +#. Scroll down further to find :guilabel:`Webhook URL` section. Find :menuselection:`Unified Refunds |
| 34 | + --> Refund request succeeded, Refund Request failed` and :menuselection:`Invoices --> Invoices |
| 35 | + paid` and fill the boxes with address of your Odoo Database |
| 36 | + (e.g. `https://yourcompany.odoo.com`). |
| 37 | +#. For :menuselection:`Invoices --> Invoices paid`, you can also check the 2 boxes underneath it. |
| 38 | + |
| 39 | +Optional 3DS |
| 40 | +------------ |
| 41 | + |
| 42 | +Get back to Xendit Dashboard home, then head over to :menuselection:`Configuration --> Payment |
| 43 | +Methods --> Card --> Settings` and enable :guilabel:`Optional 3DS`. |
| 44 | + |
| 45 | +Configuration in Odoo |
| 46 | +=====================
654C
|
| 47 | + |
| 48 | +#. :ref:`Navigate to the payment provider Xendit <payment_providers/add_new>` and change its state |
| 49 | + to :guilabel:`Enabled`. |
| 50 | +#. Fill in the :guilabel:`Xendit API Key` and :guilabel:`Xendit Callback Token` with the information |
| 51 | + you have saved from the previous step. |
| 52 | +#. Configure the rest of your options to your liking. |
| 53 | + |
| 54 | +.. seealso:: |
| 55 | + - :doc:`../payment_providers` |
0 commit comments