Odoo 19 app

Selcom Payment Gateway Tanzania

Take card and mobile money payments in Tanzania through Selcom, on the Selcom page or as a push to the customer's phone.

SelcomTanzaniaTZSUSDM-PesaTigo PesaAirtel MoneyUSSD push

What it does

Adds Selcom as a payment provider, built on the Selcom Checkout API. Every request Odoo sends carries the Authorization, Timestamp, Digest and Signed-Fields headers Selcom documents, with the digest made from your API secret. You choose how customers pay. On the Selcom payment page they pick a card, Masterpass or mobile money. With the USSD push, Odoo creates the order and sends a payment request straight to the phone number on the customer's address, and they approve it with their wallet PIN. When Selcom calls Odoo back, the webhook signature is checked, then Odoo reads the order status from Selcom to get the amount before it marks the order paid. A status check every 5 minutes catches the rest.

Features

Signed requestsHMAC-SHA256 Digest over the timestamp and every field in order, as in the Authentication section of the Selcom docs
Selcom payment pagecreate-order with billing details, your page colours and an expiry; the customer chooses card, Masterpass or mobile money there
USSD push to the walletcreate-order-minimal and wallet-payment to the customer's 255 number; M-Pesa, Tigo Pesa, Airtel Money and other wallets Selcom connects
Signed webhookAPI key, timestamp (within an hour) and Digest of the signed fields checked before the body is used; the amount is read back from Selcom
Order statusa button on the payment and a check every 5 minutes, starting 3 minutes after the order, as Selcom advises for pending and in-progress payments
Cancel ordercancel an unpaid order on Selcom from the payment
TZS and USDwhole shillings for TZS; other currencies are stopped before a request is sent
API logevery call and webhook with the Selcom result code; key, digest, names and phone numbers masked