M-Pesa Payment Integration Overview¶
JengaStack provides complete, automated integration between your Odoo ERP and Safaricom's Daraja 3.0 M-Pesa API suite.
Supported Payment Channels¶
- STK Push (Express Checkout): Prompts the customer directly on their mobile phone for their M-Pesa PIN at POS checkout or e-commerce payment.
- Buy Goods & Services (Till Numbers): Instant receipt matching when customers pay via your physical store Till number.
- Paybill (C2B): Automated matching of Paybill account numbers to customer invoice references.
- B2C Disbursements: Send funds directly from Odoo Accounting to suppliers, staff wages, and customer refunds.
Real-Time Reconciliation Flow¶
Customer Pays via M-Pesa
|
v
Safaricom Daraja API
|
v (Instant Callback Webhook)
JengaStack Proxy Gateway
|
v
Odoo jengastack_mpesa Module
|
v
1. Validates Receipt Code (e.g. QAB8921J)
2. Reconciles Matching Open Invoice
3. Generates Accounting Journal Entry
4. Stamps eTIMS Tax Invoice & Sends Receipt