Skip to content
NaiForge
Directhello@naiforge.com

Replies within 24h · Karen, Nairobi

Service — M-Pesa Integration

M-Pesa Integration in Kenya

Lipa Na M-Pesa Online on your shop — orders that confirm themselves.

What it is

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.

What's included

Every m-pesa project

Lipa Na M-Pesa Online (STK push) at checkout — the pop-up customers know
Server-side webhook verification — the order confirms itself, not by eye
Runs on Paystack by default; IntaSend, Pesapal or Flutterwave on request
Automatic order status updates and confirmation emails on payment
Failed and cancelled payments handled — no stuck or ghost orders
Reconciliation view: every transaction matched to its order
Sandbox testing before go-live, then a real end-to-end test transaction
Included at no extra cost in the Premium package
Who it's for
  • 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

Not for
  • 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.

Process

How the work actually runs

01

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.

02

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.

03

Test

Full sandbox pass first — success, cancellation, timeout, and the double-submit case. Then one real transaction, end to end, before anything goes live.

04

Go live

Switched on in production. You watch the first real order confirm itself, and we stay on WhatsApp through your first trading day.

Questions

About m-pesa

Start your m-pesa project

From KES 20,000. Delivered in 2-4 days. No quotes, no surprises.