M-Pesa STK Push Plugin for WooCommerce

Description
Running an online store in Kenya often means dealing with customers who prefer to pay with M-Pesa. This plugin makes that process smooth and reliable. It connects your WooCommerce shop with Safaricom’s STK Push service so customers can pay straight from their phones without leaving checkout. They get a prompt, enter their PIN, and the order updates on its own. It feels simple for them and saves time for you. I built this plugin for store owners who want a dependable payment solution that behaves the way a real business needs it to. You can test it in sandbox, switch to production when ready, and track every step using clear logs. If a callback is missed, the plugin checks again in the background. You can also run a manual check inside the admin panel. All M-Pesa details are stored for future reference. It supports both Paybill and Till Number payments. It works with the new HPOS setup in WooCommerce. The checkout layout is mobile-friendly, since most customers will pay on their phones. You only need your Daraja API credentials and an SSL certificate for production. If you want something simple, stable, and built with real Kenyan stores in mind, this plugin gives you a clean way to accept M-Pesa on WooCommerce.
Features
- Real STK push at checkout
- Automatic order update after customer payment
- Multiple phone number formats supported
- Manual “check status” button for each order
- All M-Pesa data stored in order meta
- Optional email alerts for failed transactions
- Simple sandbox testing before going live
- Full HPOS support
- Clean and responsive admin panel
Requirements
- WordPress 5.8 or higher
- WooCommerce 5.0 or higher
- PHP 7.4 or higher
- SSL certificate for live payments
- Safaricom Daraja API credentials
Instructions
- Create a Daraja app and collect your Consumer Key, Consumer Secret, Passkey, and Business Shortcode.
- Install and activate the plugin.
- Open WooCommerce Settings and go to Payments.
- Enable M-Pesa STK Push and enter your details.
- Copy the callback URL and add it to your Daraja app.
- Test in sandbox mode.
- Switch to live when ready.
| Author | jackboochy |
|---|---|
| Category | Plugins / WooCommerce |
| Price | $60 |
| Extended License | $180 |
| Likes | 1 |
| First Release | Nov 14, 2025 |
| Last Update | Nov 14, 2025 |
| Supported cms | WooCommerce 5.x, WooCommerce 6.x, WordPress 5.8, WordPress 5.9, WooCommerce 7.x, WooCommerce 8.x, WordPress 6.0, WordPress 6.1, WordPress 6.2, WordPress 6.3, WordPress 6.4, WordPress 6.5, WooCommerce 9.x, WordPress 6.6, WordPress 6.7, WordPress 6.8 |
| Files included | .php, .css, JavaScript .js |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks