How to Add a New Payment Provider Like Cash on Delivery in Odoo Website?
Hi everyone,
If you're looking to implement a custom payment provider, such as Cash on Delivery (COD), and want it to be seamlessly confirmed through the Odoo website payment transaction flow, here's a quick breakdown based on our experience at Webkul.
Odoo lets you define new payment acquirers via the payment.acquirer model. For COD, you'd typically:
Create a new acquirer (e.g., payment_cod) with minimal API dependency.
Set state as 'enabled' and premsg/postmsg to inform customers about the payment terms.
Use the controller /payment/transaction to confirm the order post-checkout.
Ensure your payment.transaction record is updated correctly with state='done' or state='authorized' upon completion.
This method ensures that Cash on Delivery shows as a valid Odoo payment method on the checkout page and works with the core transaction confirmation logic.
Let me know if you're using a custom flow or want to integrate with a third-party gateway, Webkul has built various Odoo payment gateways and can share insights based on your use case.
Visit us at- https://store.webkul.com/Odoo/Payment.html
-
johnson manila commented
To add a new payment, a user usually goes to the payment or billing section, chooses the option to add a payment method, fills in the required details, and saves the information for future use, subject to system approval. The steps may differ slightly depending on access level and current eligibility, and there is a chance that the payment option becomes active after verification. In some cases, references connected to bantuan str fasa 1 2025 may appear within the payment flow, creating a possibility of additional support, although approval is not certain and depends on applicable conditions. https://strfasa.my/
-
Jony Jon commented
Integrar métodos como Cash on Delivery en Odoo mejora la experiencia de pago de los clientes. De manera similar, los docentes en México cuentan con plataformas digitales para facilitar su gestión laboral, como https://mifonesepportal.com.mx/mi-portal-fone-sep-hidalgo/
, donde pueden consultar y descargar sus recibos de nómina de forma rápida y segura.