<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to Add a New Payment Provider Like Cash on Delivery in Odoo Website?]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">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.</p>
<p dir="auto">Odoo lets you define new payment acquirers via the payment.acquirer model. For COD, you'd typically:<br />
Create a new acquirer (e.g., payment_cod) with minimal API dependency.</p>
<p dir="auto">Set state as 'enabled' and pre_msg/post_msg to inform customers about the payment terms.<br />
Use the controller /payment/transaction to confirm the order post-checkout.</p>
<p dir="auto">Ensure your payment.transaction record is updated correctly with state='done' or state='authorized' upon completion.<br />
This method ensures that Cash on Delivery shows as a valid <strong><a href="https://store.webkul.com/Odoo/Payment.html" target="_blank" rel="noopener noreferrer nofollow ugc">Odoo payment method</a></strong> on the checkout page and works with the core transaction confirmation logic.</p>
<p dir="auto">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.</p>
<p dir="auto">Visit us at- <a href="https://store.webkul.com/Odoo/Payment.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://store.webkul.com/Odoo/Payment.html</a></p>
]]></description><link>https://lankadevelopers.lk/topic/1636/how-to-add-a-new-payment-provider-like-cash-on-delivery-in-odoo-website</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 10:15:18 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/1636.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Aug 2025 07:44:19 GMT</pubDate><ttl>60</ttl></channel></rss>