Mobile money payments are critical in East Africa, but integrating M-PESA STK pushes with external payment aggregators like PayHero often presents security and callback challenges.
Inconsistent callback delivery, network delays, and unhandled payment states led to lost transaction records and manual intervention.
Engineered an idempotent REST API gateway in Django to manage payment callbacks, automated reconciliations, and secure STK pushes with real-time status webhooks.