PesaPulse Billing
PesaPulse Billing turns WordPress into a billing desk for any business that collects recurring payments through M-Pesa. ISPs, water vendors, gyms, schools, landlords, SaaS and membership sites can all use it. Each customer gets an account number. When they pay to your Paybill or Till with that accou
PesaPulse Billing turns WordPress into a billing desk for any business that collects recurring payments through M-Pesa. ISPs, water vendors, gyms, schools, landlords, SaaS and membership sites can all use it.
Each customer gets an account number. When they pay to your Paybill or Till with that account number, or tap Pay now on their account page, Safaricom notifies your site. PesaPulse credits the right customer and extends their subscription without anyone reconciling statements by hand.
What it does
- M-Pesa C2B and STK Push. Paybill or Buy Goods (Till), through your own Safaricom Daraja app.
- Strict matching. Account numbers carry a check digit that catches every single-digit typo and every swapped pair of digits. A mistyped payment goes to a suspense queue for review instead of being credited to the wrong customer.
- Never counted twice. Each M-Pesa receipt is stored under a unique constraint, so repeated or replayed callbacks can’t credit a payment twice.
- Isolated ledger. Payments, balances and history live in dedicated database tables, not in user or post meta, with an append-only journal for every payment, charge and adjustment.
- Prepaid credit. Partial payments accumulate. Overpayments buy several billing cycles.
- Grace periods and suspension. A background job moves overdue accounts to grace, then to suspended. Paying restores access instantly.
- Access control without database writes. Suspended customers lose the capabilities or URL paths you choose. Nothing is written to their user record.
- Know who is overdue. The dashboard and subscription list show who is active, in grace or suspended, with their paid-until date and the amount due.
- Customer page. The [pesapulse_account] shortcode shows each customer’s plan, account number, paid-until date and a Pay now (STK Push) button.
- Admin screens for subscriptions, transactions, the suspense queue and the notification log, plus WP-CLI commands for operations and testing.