E-commerce11 min read

Designing a USSD/STK push payment flow in Dar es Salaam 2026

Mohamed Bah·Fondateur, Kolonell
August 27, 2026
Share:
Designing a USSD/STK push payment flow in Dar es Salaam 2026

Designing a USSD/STK push payment flow in Dar es Salaam 2026

E-commerce

The verdict in three sentences

An STK push flow in Dar es Salaam rests on four beats: server initiation, Vodacom prompt, customer PIN confirmation and a callback that demands an ImmediateResponse under 5 seconds. The main enemy is a 6 to 11 % failure rate, sharply reduced by a 45 to 60 second timeout and at most two retries. On the West African side, USSD push (Orange/Moov Burkina) shows a higher 12 to 25 % abandonment via *144# — same architecture, looser initial-response rule.

STK push flow architecture step by step

StepActorAction2026 constraint
1ServerInitiates the payment requestIdempotent reference
2VodacomPushes STK prompt to clientLatency 2-5 s
3ClientEnters PIN45-60 s window
4VodacomDebits and calls backImmediateResponse < 5 s
5ServerConfirms the orderServer-side status check
6ServerRetry on timeout2 attempts max

Essential point: never confirm the order on the front-end display alone. Wait for the server-confirmed callback or a status query. If silent after 60 s, trigger a retry, then mark the transaction FAILED after the second failure.

STK Push (Dar es Salaam) vs USSD push (Ouagadougou)

CriterionM-Pesa STK Push (TZ)USSD Orange/Moov (BF)
TriggerVodacom STK prompt*144# notification
Failure/abandon rate6-11 %12-25 %
Recommended timeout45-60 s60-90 s
Initial responseImmediateResponse < 5 sWithin 10 s
Advised retries1-2 max2 max
ConfirmationMandatory callbackCallback / polling
Merchant fee0.5-1 %1.5-2 %

Key difference: Tanzanian STK Push demands an ImmediateResponse under 5 seconds — your server must acknowledge almost instantly or Vodacom treats the call as failed. Burkinabè USSD is more tolerant on the initial response but suffers higher abandonment because the USSD menu requires more steps from the customer.

Mini case study

Juma runs an online ticketing service in Dar es Salaam: 600 payment attempts/month, average ticket TZS 15,000. With a 10 % STK failure rate, 60 transactions fail — about TZS 900,000 in lost revenue. By tuning the flow — clear waiting message before the prompt, 50 s timeout, two retries — he cuts failures to 6 %, loses only 36 transactions and recovers 24 sales, i.e. TZS 360,000/month. Flow ergonomics beat any discount.

FAQ

Need a professional website?

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

Why is the STK/USSD failure rate so high?

Because the customer must approve an out-of-band prompt, recall their PIN and confirm within a short window. A clear waiting message before the prompt noticeably lowers abandonment.

What timeout should I set?

45 to 60 seconds for STK Push in Tanzania. That is the realistic time to open the prompt, recall the PIN and confirm. Below 30 s you cut off legitimate payments.

How many retries are reasonable?

Two at most. Beyond that you annoy the customer and risk double charges if idempotency is imperfect. Mark FAILED after the second failure.

What is M-Pesa's ImmediateResponse?

An acknowledgement your server must return within 5 seconds of the STK Push. Without it, Vodacom treats the transaction as errored, regardless of what the customer does.

How do I test a flow before production?

Use the operator sandbox to simulate prompt, correct PIN, wrong PIN and timeout. Validate every callback case before switching to production keys.

Let's talk about your project. We design anti-timeout USSD and STK Push flows with idempotent retries and reliable callbacks. WhatsApp +221 77 596 93 33.

Tags:#ussd#stk push#m-pesa#ouagadougou#dar es salaam#payment#timeout#2026
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.