Skip to content
30% OFF
All templates
  • 2
  • +6
Businessintermediate

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.

Loading the workflow…

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.

  1. WooCommerce Order EventStarts hereWooCommerce

    Starts the workflow on a WooCommerce order, customer or product change.

  2. If / Else

    Branch the workflow based on conditions. Routes to the true or false path.

  3. 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.

  4. If / Else

    Branch the workflow based on conditions. Routes to the true or false path.

  5. WooCommerceWooCommerce

    Look up and update orders, products, stock and customers in your WooCommerce store.

  6. WooCommerceWooCommerce

    Look up and update orders, products, stock and customers in your WooCommerce store.

  7. WhatsAppWhatsapp

    Send messages, voice notes, buttons and media on WhatsApp - or call with an AI voice agent

  8. WooCommerceWooCommerce

    Look up and update orders, products, stock and customers in your WooCommerce store.

  9. Error TriggerStarts here

    Runs when this workflow fails. Wire it to a notification to be told.

  10. 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
BusinessAI Lead Enrichment and Qualification for Website Form Leads, Saved to HubSpotEvery new lead from your website form, Typeform or Tally is researched and qualified automatically. An AI agent looks up the person and company on the web, adds or updates them in HubSpot (or any CRM with an MCP server), scores the lead Hot, Warm or Cold, and posts a ready-to-act summary to your sales channel in Slack.Save$3,900/year
  • +3
BusinessAI Meeting Prep Briefs from Your CRM Before Every Sales CallWalk into every sales call prepared. Each weekday morning CiraIQ reads today's Google Calendar, and an AI agent looks up every outside attendee in your CRM through its MCP server - HubSpot, Salesforce, Pipedrive or Attio - plus recent company news, then emails you a one-page brief per meeting: who they are, the deal stage, the last conversation and what to ask.Save$4,700/year
  • +4
BusinessAI Daily Standup Report in Slack from Jira, Linear or GitHubSkip the status meeting. Every weekday morning an AI agent reads your Jira, Linear or GitHub board through its MCP server and posts an async standup to Slack: what was finished yesterday, what is in progress today, and what is blocked or overdue, grouped by person. Read-only: it never changes your board.Save$3,900/year
  • +3
BusinessTurn Bug Report Emails into GitHub, Jira or Linear Issues with AICustomer emails about bugs become well-written issues in GitHub, Jira or Linear. An AI agent reads each email, ignores anything that is not a bug, checks your tracker for a duplicate through its MCP server, then creates a new issue with steps to reproduce - or comments on the existing one - and tells your team in Slack.Save$4,050/year
  • +4
BusinessWeekly Stripe Revenue Report by Email: MRR, Churn and Failed PaymentsEvery Monday morning an AI analyst reads your Stripe account through the Stripe MCP server and emails you a weekly revenue report: revenue, new customers, MRR, cancelled subscriptions (churn), refunds, disputes and every failed payment that needs a follow-up - compared with the week before. Read-only, so it never charges or refunds anyone.Save$3,900/year
  • +3
BusinessSave Emails to Notion as Tasks Automatically with AIMove an email into a "Notion" folder or label and it becomes a task in your Notion database: an AI agent writes an action title, finds the due date, summarises the email and files it through the official Notion MCP server. Works with Gmail, Outlook or any inbox, so your to-do list lives in one place.Save$3,100/year
  • +2