Odoo 19 app

M-Pesa & Pesapal Payment Gateway Kenya

Get paid with M-Pesa and Pesapal in Odoo - STK push, paybill matching and Pesapal

What it does

Two payment providers in one module: M-Pesa Express sends a PIN prompt to the customer's phone at checkout or from an invoice, paybill and till payments are matched to invoices, and Pesapal takes M-Pesa, Airtel Money and cards on its own page.

The M-Pesa provider uses the Safaricom Daraja API. At the Odoo checkout the customer enters a phone number, gets the Lipa na M-Pesa prompt and types the PIN; the page counts down and confirms the order as soon as M-Pesa reports the payment. From any posted invoice you can send the same prompt to the customer's phone.

Payments customers make from the M-Pesa menu to your paybill or till number arrive in Odoo as paybill payments and are matched to the invoice whose number they typed, or matched by hand. The Pesapal provider sends the customer to the Pesapal page for M-Pesa, Airtel Money, Visa, Mastercard and bank payments and confirms the order when Pesapal reports it.

Features

M-Pesa Daraja settings
Pesapal settings
M-Pesa at the checkout
Check your phone
M-Pesa payment received
Pesapal payment page (demo)
Request an M-Pesa payment from an invoice
Paybill and till payments
Match a paybill payment to an invoice
M-Pesa prompts