When something goes wrong
The usual problems, and how to fix them. Most come down to a key from the wrong environment or a setting on your account.
1 min read
Common problems
| What you see | What to do |
|---|---|
| Test connection fails | Copy the Consumer Key and Consumer Secret again, and check they belong to the environment you chose: Sandbox or Production. |
| The customer gets no prompt | Check the number is a Safaricom line, and the shortcode and passkey belong together. |
| A customer paid the till but the cashier cannot find it | Click Register C2B URLs on Settings›M-Pesa, then check the amount typed at the till is the amount paid. |
| The connection says Inactive and nothing happens | An Inactive connection is switched off. Open it and switch the state to Test or Live. |
| M-Pesa is busy or unreachable | Wait a few minutes and try again. Every call and its answer is listed under Log on the connection page, without your keys, if you need to show it to support. |
Where to look


Each integration has a Log of what it sent and what came back, and a list of Notifications. Read them first, as they usually say exactly what the problem is. Test connection at the top of the page checks your keys straight away.
When to ask for help
If the log shows an error from M-Pesa, its support team can tell you why. If the log shows nothing at all, see Troubleshooting and ask us.