If you sell online in Kenya, you need to accept M-Pesa payments on your website. Customers trust it, and it removes the friction of manual payment confirmation. There are several ways to do it, each with different setup requirements.
Option 1: Manual Till or Paybill instructions
The customer sees your Till or Paybill number at checkout, pays through their phone, and enters the confirmation code. It is the simplest and cheapest setup, but you must verify payments yourself, which does not scale well.
Option 2: M-Pesa STK push through Daraja
Safaricom’s Daraja platform allows websites to trigger a payment prompt on the customer’s phone. The customer enters their PIN, and your site receives confirmation automatically. You typically need the right business shortcode and approvals from Safaricom, so ask your developer to confirm the current requirements.
Option 3: Payment gateways
Gateways such as Pesapal, Flutterwave, DPO and similar providers bundle M-Pesa and card payments in one integration. They handle much of the technical work and compliance, but charge transaction fees. Compare fees, settlement times and onboarding documents before choosing.
Option 4: WooCommerce plugins
If you use WordPress with WooCommerce, there are plugins that connect to M-Pesa or to gateways. Choose maintained, well-reviewed plugins, and test with small real payments before launch.
What to prepare
- Registered business details and documents (requirements vary by provider).
- A Till, Paybill or merchant account.
- HTTPS on your website.
- Clear return, refund and delivery policies.
Checkout design tips
- Show M-Pesa as a clear option with the logo and instructions.
- Ask only for essential details.
- Show totals, delivery fees and timelines before payment.
- Confirm payment on screen and by email or SMS.
- Offer WhatsApp support during checkout. See adding a WhatsApp button.
Security and compliance
Never store customer PINs or sensitive payment data on your site. Use official integrations, keep software updated and handle personal data according to the Data Protection Act 2019.
Which option is best?
Low volume: manual Till or Paybill. Growing store: a gateway or STK push. Large catalogue: a full WooCommerce build. See e-commerce website design in Kenya for how we approach online stores.
Tell us what you sell and we will advise on the right payment setup.
FAQs
Can I accept both M-Pesa and cards?
Yes, usually through a payment gateway.
Do I need a business registration?
Many providers require it for merchant accounts. Check each provider’s current requirements.