/
WebsiteSupport

DocsM-PesaM-Pesa

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 seeWhat to do
Test connection failsCopy the Consumer Key and Consumer Secret again, and check they belong to the environment you chose: Sandbox or Production.
The customer gets no promptCheck the number is a Safaricom line, and the shortcode and passkey belong together.
A customer paid the till but the cashier cannot find itClick Register C2B URLs on SettingsM-Pesa, then check the amount typed at the till is the amount paid.
The connection says Inactive and nothing happensAn Inactive connection is switched off. Open it and switch the state to Test or Live.
M-Pesa is busy or unreachableWait 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

Its own settings screen, where its Test and Live credentials are entered.
Its own settings screen, where its Test and Live credentials are entered.

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.

See also