

I designed and developed a full online ticketing platform for Hypebuzz that allows customers to purchase event tickets, pay via M-PESA, receive QR-coded tickets via email, and use those tickets for secure event entry.
When a customer purchases a ticket, they are prompted to complete payment through M-PESA. Once the payment is fully confirmed, the system automatically generates a unique ticket with a QR code and sends it to their email. At the event gate, staff scan the QR code to instantly verify the ticket’s authenticity and validity.
The platform also includes an admin dashboard where administrators can monitor ticket sales, track payments, view attendee records, and correct errors such as incorrect email addresses. The system ensures accurate financial reporting and reliable entry validation.
Challenge
The platform needed to reliably handle real-time payments, prevent invalid ticket issuance, and provide secure QR-based entry validation. A key technical challenge was handling payment race conditions — ensuring tickets were only issued after confirmed payment.
Approach
I engineered a full-stack solution with:
- M-PESA payment integration and confirmation handling
- Backend logic to prevent premature ticket issuance
- Automated email delivery with unique QR-coded tickets
- QR code scanner for real-time gate validation
- Admin dashboard for tracking purchases and payments
- SQL functions and triggers for payment updates and dashboard calculations
I implemented database-level safeguards and backend verification to ensure data consistency and prevent race conditions.
Result
Delivered a secure and reliable ticketing system that:
- Automates ticket sales and delivery
- Prevents fraudulent or invalid entries
- Provides real-time sales and payment visibility
- Improves operational efficiency for event organisers
Key features
Public Website
- Event listing and ticket purchase
- M-PESA payment integration using Intasend
- Automated ticket generation
- Email delivery with QR code using Resend
- Ticket Validation System
- Unique QR code per ticket
- Real-time QR scanning at entry
- Instant authenticity verification
- Fraud prevention
- Admin Dashboard
- View all ticket purchases
- Track payments and revenue
- View attendee details
- Correct user data errors
- Financial reporting
Technical highlights
- Solved payment race conditions using backend verification and database consistency controls
- Implemented SQL functions and triggers for automated payment updates and dashboard metrics
- Built a real-time QR code validation system for physical event access
- Designed a secure ticket issuance workflow tied strictly to confirmed payments
