Digital Africa11 min read

M-Pesa STK Push Failures: Retry Logic That Recovers Orders in Nairobi

Mohamed Bah·Fondateur, Kolonell
August 20, 2026
Share:
M-Pesa STK Push Failures: Retry Logic That Recovers Orders in Nairobi

M-Pesa STK Push Failures: Retry Logic That Recovers Orders in Nairobi

Digital Africa

The verdict in three sentences

Between 12 and 25% of mobile-money attempts fail on the first push in Nairobi: network timeout, insufficient balance, dropped PIN, lost SMS. Most of these failures are recoverable — a naive single attempt with no follow-up trashes sales that only needed a second push. A smart retry + fallback provider + SMS nudge logic recovers 30-45% of failures, and each recovered order is worth an average 12,000-35,000 FCFA.

Diagnose: why a payment fails

Before you retry, understand. Not all failures are handled the same way.

Failure causeFrequencyRecoverable?Action
STK timeout / network~35% of failuresYesRetry after 60s
Insufficient balance~30%PartiallySMS + retry at D+1
PIN dropped / cancelled~20%YesImmediate retry + prompt
Wrong number / operator~10%YesOffer fallback
Blocked / limited account~5%RarelyOffer another method

An M-Pesa STK push expires in 20-60 seconds, with ~15% first-attempt failure. That is not fate: it is a recovery point.

Recover: the sequence that works

The difference between a store losing 20% of its sales and one losing only 8 lies in the follow-up sequence.

Recovery leverRecovery gainCost
Automatic retry after 60s+30 to +45% of failuresNone (logic)
Fallback provider+8%Transaction fee only
SMS nudge on failure+5 to +9%~15-25 FCFA/SMS
D+1 reminder (saved cart)+3 to +6%SMS/push
Operator choice upfront-3 to -6 pts of failureNone

The winning combo: retry at 60s, then if it fails offer another provider, then an SMS nudge with a resume link. You don't harass — you smooth the path.

Mini case study

Wanjiru, who runs an online grocery in Nairobi, gets 700 payment attempts/month. Her first-attempt failure rate is 20%, i.e. 140 failures. Average basket: KES 1,900 (~15,000 FCFA). Today she doesn't retry: those 140 orders are lost.

  • Retry at 60s: recovers 40% of 140 = 56 orders
  • Fallback + SMS: recovers an extra 15% of 140 = 21 orders
  • Total recovered: 77 orders/month
  • Recovered revenue: 77 × 15,000 = 1,155,000 FCFA/month
  • Nudge SMS cost: ~140 × 20 FCFA = 2,800 FCFA

Need a professional website?

Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.

For under 3,000 FCFA of SMS, Wanjiru recovers over a million FCFA of sales that were heading to the bin.

FAQ

Could an automatic retry double-charge the customer?

No, if idempotency is handled: each attempt carries a unique id and you check status before replaying. That is exactly the point of clean retry logic, not a bare "try again" button.

How long to wait before retrying?

60 seconds is optimal for an STK timeout: long enough to let the network settle, short enough that the buyer is still in intent. Beyond that, switch to SMS.

Is a fallback provider worth it?

Yes: offering a second wallet when the first fails recovers ~8% of failures. Many buyers hold two accounts; giving them the choice unblocks the payment.

Doesn't SMS follow-up annoy customers?

Not if it is single and useful: "Your payment didn't go through, resume here." It recovers 5-9% of failures. Harassment hurts; one clear nudge helps.

How do I measure my true failure rate?

Instrument every attempt with its cause (timeout, balance, PIN, operator). Without that diagnosis you retry blind. With it, you target the right lever per failure type.

Let's talk about your project. We instrument your payments, measure failure rate by cause, and set up the retry + fallback + SMS sequence. WhatsApp +221 77 596 93 33.

Tags:#payment failure rate#M-Pesa#STK push#retry#recovery#Nairobi#Bamako#mobile money
Share:

Mohamed Bah

Fondateur, Kolonell

Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.