A complete Django web platform built for Collaborative Approach Africa — a pan-African NGO empowering youth leaders, innovators and changemakers across Kenya and East Africa. The platform handles everything from event discovery and booking to M-Pesa Daraja and PayPal donation processing, merchandise sales, a knowledge centre, and a dedicated agent portal — all in one robust, scalable system.
|
2
Payment Gateways Integrated
|
6+
Core Platform Modules
|
|
3+
Countries Reached
|
100%
Custom Built
|
About the Client
A pan-African NGO tackling youth unemployment, leadership gaps and systemic inequality across Kenya and East Africa. They run hikes, camps, forums, consultancy programs and youth empowerment events — supported by international partners including the Mastercard Foundation, Government of Ireland and UNOY.
The organization needed a professional, fully functional website that could manage events, accept payments from both local Kenyan users via M-Pesa and international donors via PayPal, sell merchandise, host knowledge resources and provide a secure agent portal — all under one roof and manageable without a developer.
What Was Built
Full M-Pesa STK Push integration using the Safaricom Daraja API — allowing Kenyan users to pay for events and merchandise directly from their phone via M-Pesa. Payments are confirmed in real time with callback handling and order status updates built into the system.
International supporters and donors can contribute directly through PayPal — enabling the NGO to receive funding from across the world without friction. The integration handles payment confirmation, donor acknowledgement and records within the platform.
A fully dynamic event management system where admins can create, publish and manage events — including hikes, camps, forums and networking sessions. Users can browse upcoming events, view details, select tickets and complete payment in one seamless flow.
A built-in e-commerce shop for selling branded merchandise. Products are managed through the admin panel, with M-Pesa as the primary checkout method — making it accessible to the local Kenyan market without requiring a credit card.
A dedicated section hosting downloadable knowledge products — policy briefs, research papers and youth reports. Documents are managed via the Django admin panel and tracked by download count, giving the organization visibility into what content is most impactful.
A secure login-protected portal for agents and staff to access internal resources, manage bookings and handle operations — separate from the public-facing site with role-based access control.
The entire platform is managed through a customized Django admin panel — the client can add events, update team members, upload knowledge products, manage orders and monitor payments without touching any code.
Engineering Highlights
Building both M-Pesa Daraja and PayPal into a single platform required careful architecture — each gateway has its own callback URL, confirmation logic and order update flow. Both were integrated cleanly without conflicts, giving users a smooth experience regardless of which method they choose.
The M-Pesa integration uses the Safaricom Daraja API STK Push — the user receives a prompt directly on their phone to confirm payment. The system listens for Safaricom's callback, verifies the transaction and automatically updates the booking or order status in real time.
Built with Django's MVT architecture — clean separation of models, views and templates — making the codebase easy to maintain, extend and scale as the organization grows. New modules like additional payment methods or new program sections can be added without rebuilding the platform.
Outcome
The platform is live at collaborativeapproach.africa and actively serving the organization's operations. Events are being listed, booked and paid for through M-Pesa. International donors are contributing via PayPal. Knowledge products are being downloaded by users across Africa. The organization now runs its full digital presence — from public website to internal agent operations — on a single, maintainable Django platform built to grow with them.
Technologies Used
|
🐍
|
Django (Python)
Full backend framework — MVT architecture, ORM, admin panel
|
|
💚
|
M-Pesa Daraja API
STK Push, real-time callbacks, transaction verification
|
|
🅿️
|
PayPal API
International donation processing and confirmation
|
|
🗄️
|
PostgreSQL
Production database for all platform data
|
|
🌐
|
HTML5 / CSS3 / JavaScript
Responsive frontend with custom UI design
|
|
🔐
|
Django Authentication
Role-based access control for agent portal
|
|
☁️
|
Cloud Deployment
Live production deployment with media and static file handling
|