Saltar al contenido principal
With the pos_compago module, Compago terminals are payment methods of your Odoo Point of Sale. The cashier presses Pay, the amount appears on the terminal, and the order moves on by itself once the card is approved. Nothing is typed twice and no amount is entered on the terminal.

How it works

  1. The cashier adds products and clicks Payment
  2. They choose the Compago method of the terminal at their till (for example Compago · N86000123)
  3. Odoo sends the amount to that terminal, which shows it to the customer
  4. The customer pays by chip, contactless or swipe
  5. Compago tells your Odoo the charge was approved, Odoo confirms it with Compago, and the payment line is marked done
  6. The cashier validates the order and prints the receipt
If the cashier removes the payment line or cancels the order before the customer pays, the charge is cancelled on the terminal too. A terminal handles one charge at a time: sending a new amount to it cancels the one it was showing.

Set up

  1. Install and connect the modules as explained in Odoo Integration. pos_compago installs on its own when both compago and Point of Sale are installed.
  2. Check the setup Odoo made after connecting: Settings › Compago › Terminals and points of sale shows how many terminals were synced. Click Assign terminals to choose which terminal goes to which point of sale when you have several of both.
  3. Open a new session of each point of sale so it loads its new payment methods.
Every terminal linked to your Compago business appears in Odoo. A terminal you add to Compago later appears the next time you click Assign terminals.

Advanced: set up a method by hand

The methods Odoo creates are ordinary payment methods. To create or change one yourself:
  1. Go to Point of Sale › Configuration › Payment Methods and click New (or open an existing Compago method)
  2. Choose a Bank journal in MXN
  3. Under Integration, choose Terminal, then Compago
  4. In Compago terminal, pick the terminal this method charges on
  5. Save, and add the method to your point of sale in Point of Sale › Configuration › Settings › Payments
You can have several Compago methods on one point of sale (one per terminal), and the same terminal on several points of sale. Odoo warns you when one terminal sits on two points of sale, because a charge sent from one cancels a pending charge sent from the other.

Test it

  1. Connect in Demo, with a terminal running the Demo build of the Compago POS app (see Environments)
  2. Open a session, add a product and click Payment
  3. Choose the Compago method: the terminal shows the amount
  4. Pay with any card (Demo charges nothing)
  5. The payment line turns done on its own. Validate the order
In Production, a test charge is a real charge. Use a small amount.

Troubleshooting

The terminal does not show the amount

  • Check that the terminal is on, online, and runs the Compago POS app of the environment you connected in. The Production app never receives Demo charges, and the other way round
  • Check that the method’s Compago terminal is the terminal in front of the customer
  • In Settings › Compago, click Check connection. If it says the connection ended, click Connect with Compago again

The customer paid but the point of sale keeps waiting

  • Settings › Compago shows whether notifications from Compago are arriving. When they are not (Odoo is not reachable from the internet, or a firewall blocks /compago/webhook), the point of sale still checks the charge every few seconds, so it moves on shortly after
  • Check that web.base.url is your Odoo’s public https:// address

The Compago method does not appear in the point of sale

  • Close the session and open a new one: a session loads its payment methods when it opens
  • Check that the method is listed in the point of sale’s Payments settings

Currency error

Your company, the method’s journal, the point of sale and the product prices must all be in MXN.

Support

Write to help@compago.com with your Odoo version, the point of sale and the time of the charge.