WooCommerce payment gateway · Built on Safaricom Daraja

Get paid on M-Pesa. Skip the reconciliation.

AlkaPay turns M-Pesa into a real WooCommerce checkout — every payment tracked against its order in your dashboard, not your SMS inbox. Free for manual Paybill & Till; Pro adds live STK Push and hands-free order completion.

Free forever for manual Paybill & Till payments. Pro automates everything.

0% transaction fees Funds go straight to your Paybill Runs on your own server
How it works

Live in under five minutes

Start free with your Paybill or Till. Add automation when you're ready.

1

Install the free plugin

One click from WordPress.org — no API credentials, no monthly fee.

2

Enter your Paybill or Till

In AlkaPay → Settings, choose Paybill or Buy Goods and save your number.

3

Customer pays & enters the code

At checkout they see your number, pay from their phone, and type the M-Pesa code — which lands right on the order.

4

You confirm — order done

Glance at the code, mark the order complete in WooCommerce. No SMS hunting.

1

Activate your Pro license

Paste your key on AlkaPay → Account. Every Pro feature unlocks instantly.

2

Add your Daraja API keys

Consumer Key, Secret, and Passkey from the Safaricom Daraja portal. Our guide walks you through it.

3

Test it in Sandbox

Run a test STK Push in Sandbox mode to watch the whole flow work — no real money charged.

4

Go live — orders complete themselves

Switch to Production. The STK prompt hits the customer's phone at checkout, and paid orders move to Processing on their own.

Before / after

You didn't open a shop to spend nights reconciling text messages

Every manual M-Pesa order is a small tax on your evening. It compounds.

The manual way

Sunday, 9:47 PM

  • 43 orders on hold. Phone in one hand, order list in the other.
  • Scrolling M-PESA messages for "QGH7…" — or was it Q6H7?
  • A customer paid KES 1,950 on a KES 2,450 order. Nobody noticed.
  • Buyers wait hours for confirmation, then ask for refunds.
With AlkaPay

Any day, any hour

  • The M-Pesa code lands on the order — no more SMS hunting.
  • Pro: an STK prompt at checkout confirms payment in seconds, automatically.
  • Pro: underpaid? The customer gets the exact balance request by email.
  • You work from one dashboard, not your inbox.
Features

Built for how M-Pesa actually behaves

Late callbacks, wrong amounts, mistyped codes — real stores deal with all of it. So does AlkaPay.

Instant STK Push checkout

The prompt meets your buyer on their phone

Your customer taps Pay, the M-PESA PIN dialog opens on their phone, and the order flips to Processing the moment Safaricom confirms. While they wait, AlkaPay polls the payment status and retries cleanly — no buyer left staring at a spinner, no abandoned cart because "nothing happened."

Status polling · automatic retries · replay-protected callbacks
Checkout — order #1042
14:02:11 STK prompt sent to 2547•••••604
14:02:19 Customer entered PIN
14:02:20 ✓ Payment confirmed — KES 2,450.00
14:02:20 Order #1042 → Processing
Background webhook engine

A verification engine that doesn't trust luck

Safaricom's confirmation can arrive late — or while your customer is still typing their code. AlkaPay matches payments three ways: at checkout, the instant the webhook lands, and with a safety-net sweep every five minutes. Whichever signal arrives first wins; duplicates are rejected so a transaction code can never pay for two orders.

Dual-trigger matching · 5-minute sweep · secret per-site callback URL
Verification log
16:40:03 Manual code THX82MN4QP submitted (order #1055)
16:40:03 No callback yet — order held, sweep scheduled
16:43:57 C2B confirmation received: THX82MN4QP
16:43:57 ✓ Matched & completed — no human involved
Edge cases, contained

Wrong amounts and typos — contained, not lost

If a customer pays KES 500 short, AlkaPay holds the order and automatically emails them the exact balance and your Paybill details. If they mistype the transaction code, the order is held safely and matched the moment the real confirmation arrives. Nothing completes until the numbers agree — and nothing silently disappears.

Server-side amount validation · overpayments flagged · balance-request emails
Live demo

Don't take our word for it. Try it live.

Run the real thing — a live STK prompt on your own phone. Decline it if you like; you'll still see exactly how it works.

A real checkout on a live store — you'll get an actual M-Pesa prompt on your phone. Your PIN is entered via Safaricom and never touches this site, and you can decline the prompt any time and still see the flow.

No middleman

Your money never touches AlkaPay

Payments go straight from your customer's M-Pesa to your own Paybill or Till, under your own Safaricom agreement. No float, no middleman — and 0% transaction fees. AlkaPay is software on your own server: it records the payment, it never routes it.

Customer Safaricom M-Pesa Your Paybill / Till AlkaPay just records it in WooCommerce — off to the side.
Pricing

Start free. Automate when it pays for itself.

Flat license pricing. AlkaPay never takes a cut of your sales.

Free

US$ 0 / forever

A complete manual M-Pesa workflow for stores that verify by hand.

  • Paybill & Buy Goods (Till) at checkout
  • Transaction-code collection
  • Manual verification from admin
  • Configurable order status (On Hold, Pending, Processing)
  • Unlimited transactions
  • Automatic updates
Install free

Lifetime

US$ 149.99 / once

Pay once. Every Pro feature and every future update, forever. ≈ KES 19,500.

  • Everything in Pro, plus:
  • Lifetime updates & new features
  • Lifetime priority support
  • No renewals, ever
Get Lifetime

Zero transaction fees — you pay only standard Safaricom M-Pesa charges. Every paid plan carries a 14-day money-back guarantee. Licenses are billed in US dollars at checkout; KES figures are approximate.

FAQ

Questions merchants actually ask

Does AlkaPay hold or touch my money?

No. AlkaPay is software that runs on your own WordPress server. Payments flow directly from your customer's M-Pesa to your Paybill or Till under your agreement with Safaricom. We never process, hold, or route funds — and we charge no transaction fees.

What does the free version actually do?

It adds a complete manual M-Pesa payment option to WooCommerce: your Paybill or Buy Goods (Till) number is shown at checkout, the customer pays from their phone and enters the M-Pesa transaction code, and you verify it from your admin. No API credentials needed.

What does Pro add?

Pro connects to Safaricom's Daraja API for live STK Push: the PIN prompt appears on your customer's phone at checkout, and the order is verified and completed automatically. Pro also adds background verification for manual payments (checkout match, webhook match, and a 5-minute safety sweep), an analytics dashboard, and detailed transaction logs.

What happens if Safaricom's confirmation arrives late?

The order is held safely — never lost, never falsely completed. AlkaPay re-checks pending orders every five minutes and completes them the moment the confirmation lands. If a customer underpaid, they automatically receive an email with the exact balance and your payment details.

Do I need a Paybill or a Till?

Either works. Paybill has an account-number field (customers can tag payments with their order number, which makes reconciliation easier); Buy Goods (Till) is a single number with no reference field. AlkaPay supports both — our docs compare them.

Do I need Safaricom API credentials?

Not for the free plan — just your Paybill or Till number. For Pro's live STK Push you need Daraja API credentials (Consumer Key, Consumer Secret, Passkey) from the Safaricom Daraja portal. Want to see STK Push in action first? Try our live demo.

Is it secure?

API credentials are encrypted at rest (AES-256), payment callbacks use a secret per-site URL with replay protection, amounts are validated server-side, and phone numbers are masked in logs. The plugin went through a full security audit before release — details on the security page.

Which WordPress and WooCommerce versions are supported?

WordPress 5.0+, WooCommerce 6.0+ (including HPOS stores), PHP 7.4+. Tested up to WordPress 6.8.1 and WooCommerce 9.9.3.

Give yourself the evening back

Install AlkaPay free, take your first M-Pesa payment today, and automate the rest when you're ready.

Install free Pricing