Coale-Payments — M-Pesa Integration for ERPNext
M-Pesa and mobile payment integration for ERPNext
Seamless M-Pesa payment integration for ERPNext. STK push, C2B payments, B2C disbursements, automated reconciliation, and Stanbic Bank integration. Handles real-time callback processing and multi-company support.
What's inside
M-Pesa STK Push
Instant payment requests via Safaricom Daraja API with real-time confirmation callbacks.
C2B Payments
Customer-to-business payment registration, URL configuration, and automatic invoice matching.
B2C Disbursement
Bulk payment disbursement to mobile wallets with status tracking every 15 minutes.
Payment Reconciliation
Automated matching of M-Pesa transactions to ERPNext invoices and payment entries.
Stanbic Bank Integration
Sort code management, bank transfer processing, and multi-bank support.
Draft Payment Management
Hold and review payments before processing, allocation controls, and bulk operations.
How businesses use Coale-Payments
E-Commerce M-Pesa Collection
Online retailers across Kenya use STK Push to collect payments at checkout. Customers receive a prompt on their phone, confirm with their M-Pesa PIN, and the order is marked as paid within seconds -- no manual confirmation needed.
- • Instant payment confirmation via Daraja callbacks
- • Automatic Sales Invoice reconciliation in ERPNext
- • Reduced cart abandonment with frictionless checkout
Distributor Supplier Payments
FMCG distributors use B2C disbursement to pay hundreds of small suppliers and agents across East Africa directly to their M-Pesa wallets, replacing slow bank transfers and cash handling.
- • Bulk B2C payouts in a single batch
- • Automatic supplier ledger updates in ERPNext
- • Full audit trail for every disbursement
School Fees Collection
Private schools and universities register C2B URLs so parents can pay fees via M-Pesa paybill. Payments are automatically matched to student accounts and outstanding fee invoices.
- • C2B paybill registration and URL management
- • Auto-matching by admission number or phone
- • Real-time fee balance updates for parents
Utility Company Billing
Water and electricity providers use Coale-Payments to collect monthly bills via M-Pesa and reconcile thousands of micro-payments against customer accounts automatically.
- • High-volume C2B transaction processing
- • Automated reconciliation against utility invoices
- • Stanbic Bank integration for settlement
Works with the CoaleTech ecosystem
Connect with other products for a unified business platform.
Coale-POS
Accept M-Pesa payments at the point of sale with STK Push prompts triggered directly from the POS screen.
Coale-Tax
Payment validation ensures invoices are eTIMS-compliant before M-Pesa collections are processed.
Coale-Property
Collect tenant rent and service charges via M-Pesa paybill with automatic lease account reconciliation.
Coale-Hoteli
Process hotel and restaurant bills through M-Pesa for seamless guest checkout and F&B payments.
Frequently asked questions
Does Coale-Payments support M-Pesa STK Push for ERPNext?
Yes. Coale-Payments integrates directly with the Safaricom Daraja API to send STK Push prompts to customers. When a payment is confirmed, the system automatically creates a Payment Entry in ERPNext and matches it to the corresponding Sales Invoice.
Can I use Coale-Payments for bulk B2C disbursements?
Absolutely. The B2C module lets you disburse payments to multiple M-Pesa wallets in a single batch. Status is polled every 15 minutes, and each transaction is logged against the supplier or employee record in ERPNext.
How does automated payment reconciliation work?
Coale-Payments listens for real-time M-Pesa callbacks and matches incoming payments to open invoices using transaction references, phone numbers, and amounts. Unmatched payments are flagged for manual review in a dedicated dashboard.
Is Stanbic Bank integration included?
Yes. Coale-Payments includes sort code management and bank transfer processing for Stanbic Bank Kenya. You can process bank-to-M-Pesa and M-Pesa-to-bank transfers alongside standard mobile money flows.
Does Coale-Payments work with multi-company ERPNext setups?
Yes. Each company can have its own M-Pesa shortcode and Daraja credentials. Payment entries are automatically routed to the correct company ledger based on the receiving shortcode.
Ready to get started with Coale-Payments?
Automate M-Pesa collections and disbursements across your entire ERPNext operation -- from STK Push to reconciliation.