Skip to content

Commit

Permalink
[ADD] payment_providers: Xendit
Browse files Browse the repository at this point in the history
Documentation for Xendit payment provider

taskid-2946329

closes #6045

Signed-off-by: Nigel Nicholas (nni) <[email protected]>
  • Loading branch information
nni-odoo committed Jan 22, 2024
1 parent 5689bc1 commit 05637af
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/applications/finance/payment_providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Payment providers (credit cards, online payments)
payment_providers/razorpay
payment_providers/sips
payment_providers/stripe
payment_providers/xendit

Odoo embeds several **payment providers** that allow your customers to pay on their *Customer
Portals* or your *eCommerce website*. They can pay sales orders, invoices, or subscriptions with
Expand Down Expand Up @@ -141,6 +142,12 @@ Online payment providers
- Full only
- Full and partial
- |V|
* - :doc:`Xendit <payment_providers/xendit>`
- The provider website
-
-
-
-

.. |V| replace::

Expand Down Expand Up @@ -425,4 +432,5 @@ payment method... What best suit your needs.
- :doc:`payment_providers/razorpay`
- :doc:`payment_providers/sips`
- :doc:`payment_providers/stripe`
- :doc:`payment_providers/xendit`
- :doc:`../websites/ecommerce/checkout_payment_shipping/payments`
47 changes: 47 additions & 0 deletions content/applications/finance/payment_providers/xendit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
======
Xendit
======

`Xendit <https://www.xendit.co>`_ is an Indonesian-based payment solution provider that covers
several Southeast Asian countries. It allows businesses to accept credit cards as well as several
local payment methods.

.. _payment_providers/xendit/configure_dashboard:

Configuration on the Xendit Dashboard
=====================================

#. Create a Xendit account if necessary and log in to the `Xendit Dashboard
<https://dashboard.xendit.co>`_.
#. Check your account mode in the top left corner of the page. Use the :guilabel:`Test Mode` to try
the integration without charging your customers. Switch to :guilabel:`Live Mode` once you are
ready to accept payments.
#. Navigate to :menuselection:`Configuration: Settings` in the left part of the application page.
In the :guilabel:`Developers` section, click
`API Keys <https://dashboard.xendit.co/settings/developers#api-keys>`_.
#. Click :guilabel:`Generate Secret Key`. In the popup box, enter any :guilabel:`API key name`,
select :guilabel:`Write` for the :guilabel:`Money-in Products` permission and :guilabel:`None`
for all other permissions then click :guilabel:`Generate key`.
#. Confirm your password to display your API key. Copy or download the key and **save
this information securely for later**. This is the only time the API key can be viewed or
downloaded.
#. Once completed, scroll down the page to the
`Webhooks <https://dashboard.xendit.co/settings/developers#webhooks>`_ section to generate
the webhook token.
#. Under :guilabel:`Webhook verification token`, click :guilabel:`View Webhook Verification Token`,
then confirm your password to display the token. Save it for later.
#. In the :guilabel:`Webhook URL` section, enter your Odoo database URL (e.g.,
`https://example.odoo.com`) in the field :guilabel:`Invoices paid` and click the
:guilabel:`Test and save` button next to it.

Configuration on Odoo
=====================

#. :ref:`Navigate to the payment provider Xendit <payment_providers/add_new>` and change its state
to :guilabel:`Enabled`.
#. Fill in the :guilabel:`Secret Key` and :guilabel:`Webhook Token` fields with the
information saved at the step :ref:`payment_providers/xendit/configure_dashboard`.
#. Configure the rest of the options to your liking.

.. seealso::
:doc:`../payment_providers`

0 comments on commit 05637af

Please sign in to comment.