Saltar al contenido principal
Compago connects to Odoo with one click. You approve the connection on Compago’s own screen, and Odoo sets itself up: it finds your terminals, creates a payment method for each one and adds them to your points of sale. There are no API keys to copy, and every sale is confirmed in Odoo the moment the card is approved.

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.
  1. Go to Settings › Compago and click Connect with Compago
  2. Sign in to Compago if you are not already, and choose the business to connect
  3. Check the Servidor line: it must be your own Odoo’s address
  4. Click Autorizar
You land back in Odoo, connected.
Only authorize a connection you started yourself. When the request did not start in your Compago dashboard, the screen reminds you to check the server’s address. If someone sent you the link, click Cancelar.

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.
Everything it creates is an ordinary Odoo record, so you can rename it, move it or add more in the standard forms. Open Settings › Compago › Review setup (or Assign terminals) to run it again after adding a terminal or a point of sale.

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 to https://<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.

Disconnect

Disconnect from either side: Settings › Compago › Disconnect in Odoo, or Configuración › Integraciones › Odoo in Compago. Charging stops at once. The payment methods stay in Odoo, so your sales history is untouched, and connecting again picks them up. A copy of the database (a staging or test build on Odoo.sh, a restored backup) never charges on your behalf: its Compago connection is cleared when Odoo neutralizes it, and Odoo refuses to use a connection made from another database.

Upgrading from an API key

Earlier versions of the modules used an API key typed into each payment method. After updating the modules, those methods keep working with the key until you click Connect with Compago. Connecting moves them to the connection and removes the key from Odoo. You can then delete the key in Configuración › Desarrollador.