M-Pesa Integration in Kenya
Lipa Na M-Pesa Online on your shop — orders that confirm themselves.
Without automation, a Kenyan online shop takes M-Pesa the manual way: the customer pays your Till, screenshots the confirmation, and someone on your side reads it and marks the order paid. That works — it is how our Starter and Standard shops ship by default, and the money lands in your own Till in real time. It stops working somewhere around 10-15 orders a day, when reading confirmation codes becomes a job. This add-on replaces that with the M-Pesa pop-up customers already know: they enter their number, approve on their phone, and our server confirms the payment via webhook before the order is marked paid. No code-pasting, no manual reconciliation, no paid-but-not-shipped disputes.
Every m-pesa project
- 01
Shops past roughly 10-15 orders a day, where reading M-Pesa codes has become someone's job
- 02
Merchants losing orders to the gap between 'customer paid' and 'we noticed'
- 03
Anyone selling while asleep — automated confirmation does not keep office hours
- 04
Existing NaiForge Starter or Standard shops ready to upgrade
- ✕
Under ~10 orders a day — Pay-to-Till costs you nothing extra and pays out instantly. Do not buy this yet.
- ✕
Merchants who need same-day settlement: the gateway settles T+2, while Pay-to-Till is real-time. This buys automation, not speed.
- ✕
Sites we did not build — we integrate on NaiForge shops. If yours is elsewhere, we would be rebuilding it, so talk to us about a migration instead.
- ✕
Sellers without a registered Till or Paybill — this needs one, and getting it needs a registered business and KRA PIN. If you are still on Pochi la Biashara, you are not ready for this and probably do not need it yet.
How the work actually runs
Prerequisites
You need a Safaricom Till or Paybill and a gateway merchant account. We tell you exactly what to submit; KYC is 1-5 working days and it is the only part we cannot do for you.
Integrate
We wire STK push into your checkout and the webhook into your order pipeline. Payment state lives on our server, never in the browser.
Test
Full sandbox pass first — success, cancellation, timeout, and the double-submit case. Then one real transaction, end to end, before anything goes live.
Go live
Switched on in production. You watch the first real order confirm itself, and we stay on WhatsApp through your first trading day.
About m-pesa
Or browse sibling services
Start your m-pesa project
From KES 20,000. Delivered in 2-4 days. No quotes, no surprises.