- 2
- +6
Take M-Pesa payments on WooCommerce with an STK push
Template: M-Pesa for WooCommerce: STK Push on Every Order
When a customer places an unpaid order on your WooCommerce store, their phone gets an M-Pesa payment prompt (STK push) for the exact total. Pay, and the order moves to Processing with the M-Pesa receipt on it and you get a WhatsApp. Ignore it, and the order gets a note so you know to follow up. Nothing to install on your site.
- 10 steps
- ~10 min setup
- basic plan
Free to use. Sign in to add it to your canvas.
Who it's for
WooCommerce stores in Kenya that want M-Pesa payments without installing a plugin.
How it works
The flow you get, exactly as it lands on your canvas.
- WooCommerce Order EventStarts hereWooCommerce
Starts the workflow on a WooCommerce order, customer or product change.
- If / Else
Branch the workflow based on conditions. Routes to the true or false path.
- M-PesaM‑Pesa
Send an M-Pesa payment prompt (STK push) to a customer's phone and wait for them to pay, using your own Daraja app. Money goes straight to your Paybill or Till.
- If / Else
Branch the workflow based on conditions. Routes to the true or false path.
- WooCommerceWooCommerce
Look up and update orders, products, stock and customers in your WooCommerce store.
- WooCommerceWooCommerce
Look up and update orders, products, stock and customers in your WooCommerce store.
- WhatsAppWhatsapp
Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent
- WooCommerceWooCommerce
Look up and update orders, products, stock and customers in your WooCommerce store.
- Error TriggerStarts here
Runs when this workflow fails. Wire it to a notification to be told.
- WhatsAppWhatsapp
Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent
Before it runs
In "New order" add your WooCommerce store URL and REST keys (WooCommerce → Settings → Advanced → REST API, Read/Write), tick "Order created" and click Register. In "Ask the customer to pay" add your M-Pesa (Daraja) keys with the Lipa na M-Pesa passkey. Orders need a billing phone. Link your WhatsApp, then turn it on.
Questions
- Do I need to install a plugin?
- No. It connects with your WooCommerce REST keys and registers its own order notifications.
- What M-Pesa keys does it need?
- Your Daraja keys with the Lipa na M-Pesa passkey.
- What does the order need?
- A billing phone number, which is where the prompt is sent.
More templates
Browse all templates- +3
- +4
- +3
- +4
- +3
- +2