Getting M-Pesa payment prompts ready: the checklist
Payment prompts (STK Push) use your own Paybill or Till through Safaricom's Daraja portal. Have these ready and setup takes one sitting:
1. Who is the M-Pesa business administrator? Go-Live has to be approved by the administrator of your M-Pesa business account (the person Safaricom has on record). We can guide you, but can't do this step for you.
2. Paybill or Till? For a Buy Goods Till, also find your store number (head office number). Prompts for tills are usually sent under the store number. It's on your Till registration papers, or ask Safaricom.
3. A Daraja account and app: sign up at the Daraja portal (developer.safaricom.co.ke), create an app with M-Pesa Express (Lipa na M-Pesa Online).
4. Go-Live: on the Daraja portal, choose Go Live for your shortcode. The business administrator confirms it with an OTP sent to their phone.
5. The live passkey: Safaricom emails it after Go-Live. Without it, prompts can't be sent.
6. Enter everything under Payment settings → M-Pesa: consumer key and secret (from the live app), shortcode, store number for a Till, the passkey, and set the environment to Live.
7. Test: press "Test connection", then "Send KES 1 test prompt" to your own phone. When the test goes through, you're ready to sell.
How long it takes depends on Safaricom's Go-Live approval, which is outside our control. Usually it's quick once the administrator confirms.