Files
odoo_source/addons/payment_custom/README.md
T
Antoine Vandevenne (anv) 6858d5ca49 [IMP] payment, *: document technical details in README files
Each payment acquirer has its own implementation specificities: some
implement a 'payment with redirection' flow and others a 'direct payment
flow'; sometimes the 'payment with redirection' flow is even implemented
as a 'direct payment' flow through an iframe; one payment acquirer could
support webhooks while another does not and relies on another mechanism
to fetch payment status updates...

It can be tricky to guess where to look in the code to determine how a
payment acquirer is implemented.

On top of that, the online payments ecosystem evolves at a fast pace due
to competition, buyouts, and legislation enforcement. Acquirers are thus
frequently migrated to new APIs that might differ in implementation from
the previous API.

To help figure out the *which*, *why*, *how*, and *when* of payment API
implementations, a README.md file is added to the main directory of all
payment acquirer modules. They can be browsed in human-readable format
on GitHub.

task-2374916

closes odoo/odoo#156084

X-original-commit: 4c19f26df3d39394cce2f183d6df15c5b89c7d27
Related: odoo/enterprise#57921
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-03-04 15:15:54 +00:00

1.2 KiB

Custom Payment Modes

Technical details

This module does not integrate with an API and, instead, offers a base for implementing payment providers with custom payment flows relying on payment instructions being displayed to the customer. This is done by immediately marking transactions as 'pending' to display their 'pending message'.

It defines a base Wire Transfer payment provider that allows making payments by bank transfer.

Supported features

  • Direct payment flow

Module history

  • 16.1
    • The default payment instructions message of Wire Transfer can be recomputed at any time after installation of the module. odoo/odoo#103903
  • 16.0
    • The custom_mode field is added to distinguish custom payment modes from other payment providers and to allow duplicating the base Wire Transfer provider in multi-company databases. odoo/odoo#99400
    • The module is no longer automatically installed with the payment module. odoo/odoo#99400
    • The module is renamed from payment_transfer to payment_custom. odoo/odoo#99400

Testing instructions

Wire Transfer can be tested indifferently in test or live mode as it does not make API requests.