Back to BlogGuides

The complete guide to M-Pesa integration for your online store

Apr 15, 20268 min read

Everything you need to know about accepting M-Pesa payments — from STK push to reconciliation.

paymentsm-pesasetup

M-Pesa is the most popular mobile payment system in Kenya, and integrating it into your online store can dramatically increase your conversion rates. In this guide, we'll walk you through everything you need to know.

What is M-Pesa?

M-Pesa is a mobile money service that allows users to send and receive money, pay bills, and make purchases directly from their phones. With over 30 million users in Kenya alone, it's essential for any e-commerce business.

How M-Pesa works on Whimsy

When a customer chooses M-Pesa at checkout, Whimsy automatically sends an STK push notification to their phone. They simply enter their M-Pesa PIN to complete the payment — no paybill numbers to remember, no manual confirmation codes.

Setting up M-Pesa

In your Whimsy admin dashboard, go to Settings → Payments. Toggle on M-Pesa and enter your business details. Whimsy handles the technical integration automatically.

Reconciliation

All M-Pesa transactions are automatically reconciled in your dashboard. You can view payment status, download reports, and issue refunds directly from Whimsy.