PAYMENTS · BUTTERFLY PRIME SOLUTIONS

M-Pesa Integration for Websites, Shops and Systems

If customers pay by M-Pesa and someone on your team checks messages to confirm each payment, you’re losing time and sales. We integrate M-Pesa directly through Safaricom’s Daraja API, so payments are requested on the customer’s phone and confirmed in your website or system automatically. We also integrate M-Pesa through iPay and Pesapal when a gateway suits you better.

14+ years · 650+ clients · 1,200+ projects · 467+ websites · 348+ systems delivered since 2012

M-PESA OPTIONS

What we integrate

STK Push (Lipa na M-Pesa Online)

The customer enters their number and gets a payment prompt on their phone; your system receives the confirmation.

Paybill and Till

Payments to your Paybill or Till number are matched to orders, invoices or accounts automatically.

Payment confirmations

Callbacks update the order or invoice status the moment the payment is complete.

Via iPay and Pesapal

We also integrate M-Pesa through iPay and Pesapal, alongside cards and PayPal, where a gateway suits you better.

USE CASES

Where we add M-Pesa

We add M-Pesa to online shops and WooCommerce checkouts, booking and deposit forms, membership and school fee payments, and custom business systems and web applications. The aim is the same each time: the customer pays on their phone and your records update without manual checking.

PROCESS

How a Daraja integration works

01 Your Safaricom account

You apply for, or already have, a Paybill or Till; we guide you through the Daraja portal.

02 Sandbox build

We build and test the integration in Safaricom's sandbox first.

03 Go-live approval

We help you complete the go-live steps with Safaricom.

04 Live testing

Real small transactions are tested end to end before launch.

05 Handover

You get documentation and the credentials stay in your name.

YOUR ACCOUNT

Security and ownership

Your Paybill or Till and your Daraja credentials stay in your name; we never route your money through our account. Payment callbacks are validated on the server, and credentials are stored securely, never in the page code.

PRICING

M-Pesa integration pricing

M-Pesa integration is quoted per project: adding STK Push to an existing shop is a different job from integrating Paybill reconciliation into a custom system. Contact us for a quote. If it is part of a new website, websites start from KES 65,000 (USD 600 for international clients).

MORE

Related services

Based in Nairobi? See web design in Nairobi. Outside Kenya? See international clients.

FAQ

Frequently asked questions

Yes. We can add STK Push or Paybill and Till payments to most existing websites and shops after a quick review of how the site is built.

Daraja is Safaricom’s API platform that lets websites and systems request M-Pesa payments and receive automatic payment confirmations.

Both. We integrate M-Pesa directly through the Safaricom Daraja API, and through the iPay and Pesapal gateways.

STK Push sends a payment prompt to the customer’s phone. They enter their M-Pesa PIN, and your website receives the confirmation automatically.

Yes. M-Pesa payments go to your own Paybill or Till. We guide you through setting up Daraja access and the go-live steps with Safaricom.

It is quoted per project, depending on the site or system and the payment flows you need. Contact us for a quote.

Yes. We integrate M-Pesa into custom business systems and web applications, including payment matching for invoices and accounts.

Want M-Pesa payments confirmed automatically?

During working hours (Monday–Friday, 8am–6pm EAT) we reply within minutes. Ready to talk? Schedule a discovery call to discuss your project. We’ll meet online or in person, whichever suits you.