Learning path · 6 lessons
Django M-Pesa Integration
Connect a Django application to Safaricom Daraja through authentication, STK Push, and C2B transaction flows.
6 of 6 availableAll lessons are available
Expected outcome
What you will build
A Django integration that obtains Daraja access tokens, initiates STK Push requests, and receives C2B callbacks.
Before you begin
Prerequisites
- Python 3.7
- Django 2.2
- A Safaricom Daraja developer account
- A publicly reachable callback URL for C2B lessons
6 available · 0 upcoming
Lessons in this series
- Lesson 1Lesson 1: A Step by Step Tutorial on How to Integrate to Mpesa API Using Django 2.2 and Python 3.7Hey and welcome to this Python/Django tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answer of M-pesa Integration using Django web framework and Python 3.7. Django is a powerful Python web framework that can help you develop web applications quickly, from a simple prototype […]
- Lesson 2Lesson 2: A Step by Step Tutorial on How to Generate Mpesa Access Token Using Django 2.2 and Python 3.7.Hey and welcome to this Python/Django tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answer of M-pesa Integration using Django web framework and Python 3.7. In lesson one, we learned the importance of having Mpesa developers account, in this lesson we are going to […]
- Lesson 3Lesson 3: A Step by Step Tutorial on How to do STK Push Integration To M-Pesa On Daraja Using Django 2.2 and Python 3.7Hey and welcome to this Python/Django tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answer of M-pesa Integration using Django web framework and Python 3.7. In lesson two we learned how to generate mpesa token, in this lesson we are going to learn how […]
- Lesson 4Lesson 4: A Step by Step Tutorial on How to develop C2B Integration To M-Pesa On Daraja Using Django 2.2 and Python 3.7Hey and welcome to this Python/Django tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answer of M-pesa Integration using Django web framework and Python 3.7. In lesson three we learned how to develop an STK push integration, in this lesson we are going to […]
- Lesson 5Lesson 5: A Step by Step Tutorial on How to Register Confirmation and Validation URL’s to M-Pesa C2B Integration on Daraja Using Django 2.2 and Python 3.7Hey and welcome to this Python/Django tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answers of M-Pesa Integration using Django web framework and Python 3.7. In lesson 4, we learned how to prepare our Mpesa model and running migrations, in this lesson we are […]
- Lesson 6Lesson 6: A Step by Step Tutorial on How to Fix Bug on Registering Confirmation and Validation URL’s to M-Pesa C2B Integration on Daraja Using Django 2.2 and Python 3.7Hello and welcome to this Python/Django tutorial series, my name is Henry Mbugua and I will be taking you through the various aspect and new answers of M-pesa Integration using Django web framework and Python 3.7. In lesson 5, we learned how to register confirmation and validation URL’s, however, we had some challenges with getting […]