Case study · Product
Multi-tenant loyalty platform
For a loyalty SaaS serving shops, gyms and shopping malls, BugLime replaced a ten-year-old points system with a schema-per-tenant platform: wallet passes, a Shopify app with signed webhooks, double-spend-safe redemption, and AI receipt reading checked by fraud rules. An external pentest found no critical issues.
The challenge
A ten-year-old Laravel 5.1 points system had to become a SaaS where every business runs its own branded programme — cards, wallet passes, a webshop — without one tenant ever seeing another's data, and without a point being spent twice.
What we built
A PostgreSQL schema per tenant, admin, cashier and customer portals, Apple and Google Wallet passes, and a Shopify app that verifies every signed request. Redemption locks the card, re-checks the balance and deletes the Shopify code again if anything fails. Receipt photos are read by Claude, then checked against till, time-window and duplicate rules before a single point is credited.
How it was delivered
The same four steps BugLime runs on every project. Agents draft; a senior engineer reviews and approves every change before it merges.
- 01FrameWeek 1 — the written spec
- 02FleetWeeks 1–4 — parallel drafts
- 03ReviewContinuous — the human gate
- 04ShipWeeks 5–6 — handover