Odoo 19 app

Chapa Payment Gateway

Take Chapa payments in Odoo 19: telebirr, CBE Birr, M-Pesa, bank transfers and cards

ChapatelebirrCBE BirrM-PesaEthiopiaETBUSD

What it does

Adds Chapa as a payment provider in Odoo. The customer pays on the Chapa checkout page with any method of your Chapa account. Odoo then asks Chapa for the result with Verify Transaction, as Chapa advises, and confirms the order by itself.

Who it is for

  • Online shops selling to customers in Ethiopia. Most buyers want to pay with telebirr, CBE Birr or their bank rather than a foreign card. The customer is sent to the Chapa checkout page and pays with whatever methods your Chapa account offers, then comes back to an order Odoo has already checked.
  • Businesses that invoice and wait to be paid. An invoice payment link can go out with Chapa as the method. When Chapa confirms the payment, the invoice is paid in Odoo without someone matching it by hand.
  • Shops and cafes using the Odoo register. With Point of Sale online payment installed, the register shows a QR code for Chapa and the order is marked paid once Chapa confirms it, even for a walk-in sale with no customer set.
  • Teams that need to refund part of an order. Full and partial refunds start from the normal Refund button on the Odoo payment, and the module keeps checking until Chapa reports the refund as done or reversed.

Features

Hosted checkoutin ETB or USD, with the methods of your Chapa account
Verify before confirmingredirects, callbacks and webhooks only trigger a Verify Transaction call; amount, currency, reference and mode must match
Webhook signaturex-chapa-signature or chapa-signature is checked first; a wrong or missing signature is refused
Test money stays test moneya payment made in test mode cannot confirm an order when the provider is Enabled
Full and partial refundsfrom the Refund button of the Odoo payment, followed until Chapa says refunded or reversed
Cancel Transactionfrom a button, or automatically after the time you set: the checkout link expires
Check statusfrom a button, and by a scheduled action when a webhook is lost
Point of Sale online paymentalso for an order without a customer; nothing is invented when there is no contact
API logeach call and notification, masked, kept as long as you choose
Amharicthe module includes an Amharic translation

Setting it up

  1. Go to Invoicing (or Website) > Configuration > Payment Providers and open Chapa.
  2. Paste your Secret Key from Chapa Dashboard > Settings > API Keys. Use the test key with the provider in Test Mode and the live key once it's Enabled.
  3. Type a Webhook Secret Hash, copy the Webhook URL shown on the form, and enter both in Chapa Dashboard > Settings > Webhooks.
  4. Click Test Connection to check that Chapa accepts the key. You'll get a warning if a test key is used while the provider is Enabled, or the other way round.
  5. On the Chapa tab, fill in Checkout Title and Checkout Description if you want them on the payment page, and set Hide Chapa Receipt, Cancel Unpaid Payments After (hours) and Keep API Log (days).
  6. Publish the provider. For the till, install Point of Sale online payment and add Chapa to an online payment method.

Chapa Payment Gateway: questions

Which currencies work?

Ethiopian birr (ETB) and US dollars (USD). A payment in any other currency is refused before the customer is sent to Chapa.

How does Odoo know the payment really went through?

It never trusts the return URL. Redirects, callbacks and webhooks only trigger a Verify Transaction call to Chapa, and the order is confirmed from that answer. Webhooks also need a valid signature made with your secret hash, or they're refused.

Can a test payment confirm a real order?

No. If Chapa reports a test-mode payment while the provider is Enabled (or a live payment while it's in Test Mode), the transaction goes to error and the order isn't confirmed.

What happens if a webhook never arrives?

A scheduled action runs every 30 minutes and checks transactions that have had no answer for 10 minutes. Unpaid ones past your Cancel Unpaid Payments After time are cancelled on Chapa, which expires the link. You can also press Check Status on Chapa or Cancel on Chapa on the transaction.

What about Chapa's fees on a refund?

Chapa takes the refund from your available balance and keeps its own charges. If Chapa reverses a refund, the money goes back to your Chapa balance and the Odoo refund is marked as an error.

Does it store cards or do payouts?

No. Customers pay on the Chapa page every time, nothing is saved for reuse, and transfers, split payments and virtual accounts aren't part of it. It runs on Community or Enterprise and includes an Amharic translation.