Zenpixl
Contact Us
Back to case studies
CASE STUDY · FINTECH / ISLAMIC ECONOMY5 min read

How we built a contactless donation platform serving mosques across Bangladesh

Hibabox replaced manual cash collection at mosque entrances with a fully digital, contactless giving platform — built for trust, simplicity, and scale.

Industry
Islamic Fintech
Timeline
4 Months
My Role
Project Manager & Lead Engineer
Platform
Web + Mobile-first
THE PROBLEM

Mosques were losing donations to friction

Mosques in Bangladesh have always relied on physical collection boxes and manual cash handling. The problems were significant — cash handling created transparency concerns for donors, counting was done manually and prone to error, there was no way to track giving history or send receipts, and younger donors who rarely carry cash were simply not giving.

The Hibabox team came to us with a clear mission: create a contactless digital donation experience that felt trustworthy to mosque committees and simple enough for any donor — regardless of tech literacy — to use in under 30 seconds.

Donors needed zero friction — no account creation required
Mosque admins needed a simple dashboard, not a complex CRM
The platform had to support multiple mosques independently
Payment processing had to be local (bKash, Nagad, card)
Every transaction needed an auditable, tamper-proof record
THE SOLUTION

A multi-tenant donation platform built for trust and simplicity

We designed and built Hibabox as a multi-tenant SaaS platform where each mosque operates as an independent tenant with its own dashboard, donation page, and reporting — all managed from a central admin panel.

Donors visit a mosque-specific URL or scan a QR code at the entrance, choose an amount, select a payment method, and complete the donation in under 30 seconds. No account needed. An instant digital receipt is sent via SMS or email.

Mosque admins log into their dashboard to see real-time donation totals, donor counts, payment method breakdowns, and exportable financial reports — replacing hours of manual counting with a single glance.

Donor-facing web app — mobile-first, loads under 2s
Mosque admin dashboard — real-time analytics, export to PDF/Excel
Central super-admin panel — manage all mosques, monitor platform health
Payment gateway integration — bKash, Nagad, SSL Commerz
QR code generation per mosque — printable, brandable
Automated SMS and email receipts post-donation
Audit log — every transaction permanently recorded
TECHNICAL HIGHLIGHTS

Why we built it this way

01

Multi-tenant with subdomain isolation

Each mosque gets its own subdomain (mosquename.hibabox.com). Tenant data is fully isolated at the database level — one mosque can never access another's data. We used Laravel's multi-tenancy package with custom middleware for tenant resolution on every request.

02

Stateless donor flow (no login required)

Requiring donors to create accounts would have killed conversion instantly. We built the entire donor journey as a stateless flow — payment session tokens are generated per transaction, verified, then expired. Receipts are delivered without any stored user account.

03

Real-time dashboard without WebSockets cost

Instead of a persistent WebSocket connection (expensive for a multi-tenant platform), we implemented smart polling with exponential backoff — dashboard data refreshes every 15 seconds during active hours, reducing to 2-minute intervals at night. Cost stayed near zero while admins still see near-real-time data.

04

Payment gateway abstraction layer

We built an internal payment adapter interface so adding a new gateway (bKash, Nagad, cards) requires only implementing one interface — not rewriting checkout logic. This future-proofed the platform for any new payment method Bangladesh introduces.

THE RESULTS

Live, growing, and trusted

Platform live and processing real donations
Multiple mosques onboarded since launch
Donor flow completes in under 30 seconds
Zero critical bugs since production deployment
Mosque admins required zero training to use dashboard
100% of transactions have verifiable audit records
TECH STACK
LaravelVue.jsMySQLRedisDockerSSL CommerzbKash APINagad APIMulti-tenant ArchitectureLaravel SanctumSMS GatewayQueue JobsAWS S3
The platform was delivered on time and worked exactly as we envisioned. Donors love how simple it is — we've seen a noticeable increase in digital giving since launch.
H
Hibabox Team
Product Owner, Hibabox

Building a fintech or multi-tenant platform?

We've done this before. Let's talk about your project.

Start a conversation