Learn how to go live with the Safaricom M-Pesa API (C2B) in just minutes!
In this full tutorial, I walk you through the entire integration process, from sandbox testing to production launch, including:
✅ Registering validation and confirmation URLs
✅ Getting and testing the M-Pesa access token
✅ Handling C2B callbacks with Django (or your backend framework)
✅ Common mistakes and how to fix them
✅ Tips for going live faster and avoiding rejection
Whether you're a Kenyan developer, a startup founder, or a business owner, this video will help you set up M-Pesa payments quickly and correctly.
Paybill Application : https://m-pesaforbusiness.co.ke/apply
M-pesa Admin : https://www.safaricom.co.ke/images/Do...
💡 Recommended Services (Affiliate Links):
🌐 Get $200 FREE DigitalOcean Credits → https://m.do.co/c/your-affiliate-code
📌 Buy Cheap Domains from Namecheap → https://www.namecheap.com/?aff=your-a...
🔗 Useful Links:
Django Official Docs → https://docs.djangoproject.com
DigitalOcean → https://www.digitalocean.com
Gunicorn Docs → https://gunicorn.org
Nginx Docs → https://nginx.org
Resources & Links:
🌍 Africa’s Talking: https://africastalking.com/
💳 IntaSend: https://intasend.com/
🐍 Django: https://www.djangoproject.com/
🌍 Code: https://github.com/bryan-oginga/ussd-...
🚀 Follow me for more Django & USSD content:
🌐 Website: https://brianoginga.com/
🎙️ Podcast: https://open.spotify.com/show/1k03G6z...
🌎 Find Me Here:
🌐 Website: https://www.brianoginga.com/
🐦 Twitter: [ /bryan_oginga ]
📲 WhatsApp: https://wa.me/0799043853
👨💻 Developers WhatsApp Community: https://chat.whatsapp.com/FqBsUt72r6b...
Transcript