What you can do
Point of Sale
The cashier presses Pay and the amount appears on the Compago terminal.
Self-Order & Kiosk
Customers order and pay on their own, with no staff at the till.
Online store
Buyers pay on Compago’s secure checkout and return to your store.
Requirements
A server that hosts several databases needs a
dbfilter, so that Compago’s return address (/compago/oauth/callback) and its notifications (/compago/webhook) always open the same database.Install the modules
Add from the Odoo Apps Store the Compago apps you use: Compago · Terminales, Compago · Pagos en línea, Compago · Kiosko or Compago · Rise. Each one brings the Compago app (the connection) along. See Install and update. You never activate them one by one to connect: connecting turns on every Compago app whose Odoo app you already use, and connecting Rise turns on its own.Connect
You can start from either side. Both end on the same Compago screen, where you see which Odoo is asking and what it will be allowed to do.- From Odoo
- From Compago
- Go to Settings › Compago and click Connect with Compago
- Sign in to Compago if you are not already, and choose the business to connect
- Check the Servidor line: it must be your own Odoo’s address
- Click Autorizar
What Odoo sets up for you
Right after connecting, Odoo runs its setup with sensible defaults:- Your Compago terminals are synced, and each active one gets its own payment method, Compago · [serial number], in a Compago bank journal.
- With one terminal, it is added to every point of sale. With one point of sale, every terminal is added to it. With several of both, Odoo asks you to confirm which terminal goes to which point of sale.
- Kiosks (self-order in Kiosk mode) get the same methods.
- If the online store is installed, the Compago payment provider is enabled and published.
Demo and Production
The connection uses the environment you choose in Settings › Compago: Production charges real cards, and Demo charges nothing. Each one needs an account and terminals of the same environment (see Environments). To switch, disconnect and connect again in the other environment.How sales are confirmed
When a card is approved, Compago tells your Odoo straight away: it sends a signed notification tohttps://<your Odoo>/compago/webhook, Odoo checks the charge with Compago, and the point of sale moves on by itself. The notification only tells Odoo where to look; a sale is marked paid only after Odoo reads it back from Compago.
If your Odoo cannot be reached from the internet (for example, a server on a private network), everything still works: Odoo checks the charge every few seconds instead. Settings › Compago shows whether notifications are arriving. Compago retries a notification that did not arrive for about a day, and Odoo also reconciles pending charges every few minutes, so a sale is never left unconfirmed.