If your Shopify store targets Kenyan customers and you do not accept M-Pesa, you are losing the majority of your sales. Over 80% of Kenyan online shoppers prefer to pay with M-Pesa, and many will abandon a checkout that only offers cards.
This guide explains how M-Pesa works inside Shopify, the setup options available, and how to make checkout as smooth as possible so you capture every sale.
Why M-Pesa is essential in Kenya
M-Pesa is the default way Kenyans move money. Most shoppers do not own or trust credit cards online, but everyone has an M-Pesa line. Offering it removes the single biggest source of friction at checkout.
Stores that add M-Pesa typically see a meaningful jump in completed orders because buyers can pay in seconds from their phone without entering card details.
How M-Pesa STK push checkout works
The smoothest experience is the STK push (also called Lipa na M-Pesa Online). At checkout the customer enters their phone number, a payment prompt pops up on their phone, they enter their M-Pesa PIN, and the order is confirmed automatically.
Behind the scenes this uses Safaricom's Daraja API. You do not need to build it yourself — Ubossify's checkout integration handles the STK push for Shopify stores out of the box.
Your setup options
There are three common ways to accept M-Pesa on Shopify in Kenya:
- Ubossify integration — STK push built for Kenyan dropshipping stores, the fastest path to live
- A third-party M-Pesa payment app from the Shopify App Store
- A custom Daraja API integration (developer required, most work)
What you need before you start
To go live with M-Pesa you will need a Safaricom till or paybill, your business details, and a connected Shopify store. For Lipa na M-Pesa you register through Safaricom and obtain API credentials, or let Ubossify handle the connection for you.
- An active Safaricom M-Pesa Till or Paybill number
- Business registration details (recommended once you scale)
- A live Shopify store connected to Ubossify
Best practices for higher conversions
Once M-Pesa is live, small details make a big difference to how many customers complete payment.
- Show the M-Pesa logo on product pages and at checkout to build trust
- Keep the phone-number field obvious and validated
- Send an instant order confirmation by SMS or WhatsApp — it cuts disputes
- Test the full flow on a real phone before launching ads
Start your dropshipping business in Kenya
Source from 100+ verified Kenyan suppliers, push products to Shopify in one click, and get paid via M-Pesa. Free to start.
Start Free Today