Payment confirmation, carrier gateway handshakes, and ledger finalization in the seconds between MoMo approval and the subscriber SMS.
A five-second bundle purchase masks three coordinated phases: inbound settlement, carrier handshake, and acknowledgment.
Phase 1: Settlement
Paystack or agent wallet logic confirms funds. Optimistic locking on wallet rows prevents double spend under concurrent desk clicks.
Phase 2: Gateway
Payloads translate to operator-specific formats. HLR or HSS checks confirm the MSISDN is active on the target network before OCS applies data.
Phase 3: Acknowledgment
Carrier reference IDs land in the ledger. Customers receive searchable receipts. Status moves from processing to successful only on signed confirmation.
Delays usually trace to MoMo webhook lag, queue congestion, or portability lookups. Engineering transparency helps desks explain waits without arguing.
Observability for Non-Engineers
Desks benefit when status pages show carrier maintenance and p95 latency trends. A green checkout button during a brownout creates disputes. Prefer honest banners and queued fulfillment with timestamps customers can screenshot.
What Happens After You Click Send
A retail click triggers a payment hold, a formatted provisioning payload, and a wait for carrier acknowledgment. Latency is usually two to four seconds, but queue depth during national events can stretch into minutes. Operators who explain queue behavior honestly retain customers better than those who promise instant magic every time.
SMPP, USSD, and REST Edges
Aggregators speak different dialects to MTN, Telecel, and AT cores. Maintenance on legacy SOAP endpoints still happens. Your desk sees a spinner; engineering sees timeout budgets and retry policies. When errors cluster on one carrier, the issue is rarely your clerk. It is probably a rail-side throttle or an undeclared maintenance window.
HLR and Pre-Flight Validation
Home Location Register queries answer whether a subscriber is active on the network you intend to charge. Skipping validation saves milliseconds and costs cedis when portability misroutes. Modern gateways validate when APIs allow. When they do not, customer confirmation is your fallback validation layer.
Idempotency Under Hostel Bursts
Double taps on checkout during rushes must not create double debits. Client-generated keys plus server-side deduplication protect buyers and agents. Teach clerks to read "already processing" states instead of hammering retry.
Webhooks That Arrive Out of Order
MoMo confirmation webhooks and carrier callbacks sometimes cross in transit. State machines should accept payment-first or carrier-first arrival without marking a transaction failed prematurely. Retry with backoff beats blind duplicate sends that anger customers and auditors.
MNP and Prefix Assumptions
Ghana's portability regime preserved numbers while changing carriers. Prefix heuristics help UX defaults but must never be the only routing input. Failures that read "inactive subscriber" after payment often trace to portability tables lagging behind reality. Retry policies must distinguish hard rejects from soft timing issues.
About the Author
Gideon DadeyFounder of DadeyPay. Building licensed Ghana data rails so shops can send MTN, Telecel, and AirtelTigo without living in WhatsApp threads.
Learn more on this topic
Related blog posts
4 April 20263 min read
Observability Dashboards Operators Wish Vendors Could See
p95 latency, error code histograms, and per-carrier success rates turn support from guesswork into evidence.
Read27 March 20263 min read
Rate-Limit Etiquette on Shared Aggregator Infrastructure
Bursting during campus events affects neighbors. Backoff, batching, and courteous concurrency protect everyone.
Read20 March 20263 min read
SMS Confirmations: Last-Mile Delivery After Provisioning
Success in the ledger does not always mean instant SMS. Separate technical success from subscriber perception.
Read