M-Pesa payments
Collect M-Pesa payments from your WhatsApp chats
Ask for payment in the same conversation where you closed the sale. Hafsage CRM sends the M-Pesa STK Push, confirms the payment and updates the deal's balance. The money goes straight to your own Paybill or Till.
How M-Pesa STK Push works in a chat
- In the conversation, an agent chooses the amount, an optional label such as “Deposit”, and the phone number.
- The customer gets an M-Pesa PIN prompt on their phone. This is the STK Push, which Safaricom calls M-Pesa Express.
- The chat shows the status live: waiting, paid with the receipt number, or failed with a plain reason and a way to send it again.
- The agent is notified. If you turn receipts on, the customer also gets a WhatsApp receipt.
- WWanjiru K.now
Paid, thank you!
- BBrian O.14m
Can I pay the deposit in two parts?
1 - AAmina H.1h
Thanks, see you on Saturday 👍
- PPeter M.3h
Send me the price list please
Wanjiru K.
+254 712 345 678
Sample data for illustration.
Customers who prefer to pay from their own M-Pesa menu
Agents can share your Lipa na M-Pesa Paybill or Till details in the chat instead. With a Paybill, each customer gets a reference code to use as the account number, which identifies who paid. Anything that can’t be matched waits on the Payments page for someone to assign, so it doesn’t get lost.
Every payment in one place
- Search all payments by name, phone or reference.
- See which payments still need a customer or a deal.
- Split one payment across several deals, for deposits and instalments.
- See paid and remaining balance on each deal card, on the contact and on the dashboard.
- Record cash, bank and card payments by hand, so balances stay true.
- Record refunds, and void a manual payment entered by mistake while keeping it on record.
- Compare direct payments against Safaricom’s list to catch differences.
Payments
Every payment received, and the ones that still need assigning.
| Date | Payer | Amount | Method | Customer | Allocated to |
|---|---|---|---|---|---|
| Today, 10:07 | Wanjiru K.TK48QX2L9M | KES 50,000 | M-Pesa prompt | Wanjiru K. | 50×100 plot, Kitengela |
| Today, 08:42 | Mary N.FT26308XK1 | KES 850,000 | Bank | Mary N. | 50×100 plot, Kitengela |
| Yesterday | Brian O.D10427 | KES 40,000 | M-Pesa direct | Brian O. | Unallocated KES 40,000 |
| Yesterday | John KamauPLOT12 | KES 15,000 | M-Pesa direct | Unmatched | — |
Sample data for illustration.
What you need
- Your own M-Pesa Paybill or Till.
- A Safaricom Daraja app approved for production. This goes through Safaricom’s go-live process.
- A Hafsage CRM Growth or Business plan.
Frequently asked questions
Does Hafsage hold my money?
No. Each business connects its own Paybill or Till, so payments go straight to you. We never hold funds.
Are there transaction fees?
Safaricom’s usual M-Pesa charges apply to your Paybill or Till.
Can a customer pay a deposit and then instalments?
Yes. Prompts can be for any whole-shilling amount, and each payment reduces the balance on the deal in your sales pipeline.
Do I need to build a Daraja API integration?
No. You get your Daraja credentials from Safaricom and enter them in Hafsage CRM’s settings. The integration is already built, including STK Push, Paybill and Till payments, and payment confirmations.
Do I need the WhatsApp Business API?
Yes. Hafsage CRM runs on it. Read what it costs and how to set it up.
See it with your own sales process
Try it free for 14 days, no card needed, or book a 15-minute demo.
- Meta Tech Provider
- No markup on Meta fees
- M-Pesa built in