Odoo18-Base/addons/payment_xendit
2025-03-04 12:23:19 +07:00
..
controllers init 2025-01-06 10:57:38 +07:00
data init 2025-01-06 10:57:38 +07:00
i18n merge with official 2025-03-04 12:23:19 +07:00
models init 2025-01-06 10:57:38 +07:00
static init 2025-01-06 10:57:38 +07:00
tests init 2025-01-06 10:57:38 +07:00
views init 2025-01-06 10:57:38 +07:00
__init__.py init 2025-01-06 10:57:38 +07:00
__manifest__.py init 2025-01-06 10:57:38 +07:00
const.py merge with official 2025-03-04 12:23:19 +07:00
README.md init 2025-01-06 10:57:38 +07:00

Xendit

Technical details

APIs:

SDK: Xendit.js

This module integrates Xendit with different payment flows depending on the payment method:

  • For Card payments, it renders a self-hosted payment form with regular (non-iframe) inputs and relies on the Xendit.js SDK to create a (single-use or multiple-use) token that is used to make the payment. When the payment is successful, and the user opts to save the payment method, the token is saved in Odoo. Other communications with Xendit are performed via server-to-server API calls.

    The JS assets are loaded in JavaScript when the payment form is submitted.

    As payment details are retrieved in clear but are immediately passed to the Xendit.js SDK, the solution qualifies for SAQ A-EP.

  • For other payment methods, this module uses the generic payment with redirection flow based on form submission provided by the payment module.

This implementation allows supporting tokenization for Card payments whilst retaining support for other payment methods via the redirection flow.

Supported features

  • Direct Payment flow for Card payment methods
  • Payment with redirection flow for other payment methods
  • Webhook notifications
  • Tokenization with or without payment

Module history

Testing instructions

https://developers.xendit.co/api-reference/#test-scenarios