Extending Odoo commerce with a custom payment gateway
AO built a custom Odoo payment module that enabled merchants to accept card payments through Adumo Online, with secure checkout, dependable transaction-status handling and support for refunds, tokenised payments and manual capture.
AO engineered a custom Odoo payment-provider module that connects Odoo commerce and checkout journeys to the Adumo Online API, mapping gateway responses back into Odoo transaction and order records and supporting refunds, tokenised payments and manual capture.
- Customer
- AO Group
- Geography
- Not publicly disclosed
- Engagement
- Custom Odoo payment module engineering
- Primary outcome
- Integrated card-payment capability within Odoo
What was on the table
AO required a practical way to connect Odoo commerce journeys to an established online payment gateway while maintaining confidence and control across the payment lifecycle. The integration needed to support more than the initial checkout: transaction outcomes had to be reflected reliably in Odoo, while operational scenarios such as refunds, tokenised payments and manual capture also had to be accommodated without compromising payment integrity.
How we approached it
AO engineered a custom payment-gateway module that connected Odoo commerce workflows to the Adumo Online API. Built using Python and Odoo's web framework, the module provided a structured connection between checkout, gateway communication and Odoo's transaction records. JWT supported authenticated API communication, while PostgreSQL-backed application data allowed payment states and related commerce activity to remain aligned within the Odoo environment.
The capabilities behind the build
- 01Odoo commerce
- 02Custom payment module
- 03JWT authentication
- 04Payment-gateway API
- 05Transaction-status handling
- 06Payment operations
- 07Odoo order and record alignment
The operating flow
- 1
Customer selects card payment during the Odoo checkout journey
- 2
The custom Odoo module prepares the payment transaction
- 3
An authenticated request is sent to the Adumo Online API
- 4
The payment gateway processes the card-payment request
- 5
The gateway response is returned and mapped to the relevant Odoo transaction
- 6
The order and payment status are updated within Odoo
- 7
Authorised operational actions such as refunds, tokenised payments or manual capture are handled through the supported workflow
What changed
- Enabled merchants using Odoo to accept card payments through Adumo Online
- Extended Odoo's native commerce capabilities with a custom payment option
- Created more dependable handling of payment transaction statuses
- Supported operational payment scenarios beyond initial checkout
- Connected refunds, tokenised payments and manual capture to the broader Odoo commerce journey
- Gave the business greater control over payment activity inside its Odoo environment
- Preserved the integrity of the relationship between payment outcomes and commerce records
Under the hood
Architecture
Custom Odoo payment-provider module connecting Odoo commerce and checkout workflows to the Adumo Online API. The module used authenticated API communication, application-level transaction handling and PostgreSQL-backed records to keep gateway responses, payment states and related commerce activity aligned.
Technologies
- — Python
- — Odoo Web Library
- — PostgreSQL
- — Adumo Online API
- — JWT
- — Odoo App Store
Integrations
- — Odoo commerce and checkout
- — Adumo Online API
- — Odoo transaction and order records
What this engagement drew on
More engagements like this

Powering holiday bookings at island scale
Technology developed by AO powers the booking platform behind a leading resort group, supporting hundreds of thousands of holiday bookings every year.

Turning customer interest into managed opportunity
Technology developed by AO powers the lead-management platform behind a large national vehicle retailer, managing customer enquiries at enterprise scale.

Connecting global travel experiences through APIs
Technology developed by AO supports the API ecosystem behind a leading global loyalty platform, enabling seamless digital travel experiences for airport travellers.

