Changelog
Real updates. Real features. No marketing fluff.
Notification & Payment Reliability Hardening
A comprehensive infrastructure upgrade ensuring zero silent failures, guaranteed delivery of OTP codes, and idempotent payment webhooks. Critical for high-volume operations.
- NewAbortSignal.timeout(8s) on all external API calls — WhatsApp, Email, HelaHub
- NewOTP delivery now uses Promise.race with 5-second WhatsApp timeout before falling back to email
- NewBooking & welcome notifications scheduled via next/server after() — never blocks the HTTP response
- NewPayment webhooks return HTTP 200 immediately; notifications fire in the background
- NewIdempotency check on both booking and subscription webhooks — duplicate provider retries are safely ignored
- FixFixed race condition: transactionId now persisted before calling HelaHub STK push
- FixsendWhatsAppMessage now throws on provider errors — email fallback triggers reliably
- ImprovedEmail sends parallelized with Promise.allSettled — newsletter batches 3–5× faster
- ImprovedSTK checkout phone saved to user profile if no phone was on file
Admin-Driven Pricing Engine
Subscription plans, feature gating, and pricing tiers are now fully configurable from the admin panel — no code changes required to launch new plans or adjust limits.
- NewSubscriptionPlan model with per-plan feature flags and vehicle limits
- NewLive pricing page reads directly from the database — update pricing in admin, see it live instantly
- NewTrial period enforcement: 14-day free trial with automatic plan expiry checks
- NewDeveloper portal now gated to paid plan members — free trial accounts redirected to pricing
- ImprovedPlan upgrade flow via HelaHub STK push with automatic tenant provisioning on payment success
Multi-Tenant DNS & Custom Domains
Every tenant can now attach their own custom domain. Traffic is routed via middleware with full security header injection on each subdomain.
- NewCustom domain support: tenants add a CNAME record and their branded domain goes live in minutes
- NewMiddleware handles subdomain routing, preview modes, and per-tenant theme injection
- NewSecurity hardening headers (CSP, X-Frame-Options, HSTS) applied per-request at the edge
- FixFixed domain propagation delay — domain active status now verified via DNS lookup before provisioning
HelaHub M-Pesa STK Push Integration
Native M-Pesa STK push payment flow for bookings and subscription upgrades. Customers pay from their phone without leaving the platform.
- NewSTK push initiation with per-tenant webhook secrets for security isolation
- NewSplit payment support — platform fee auto-deducted before settling to vehicle owner
- NewReal-time payment status webhook with booking auto-confirmation on success
- NewPayment failure notifications via WhatsApp and automatic booking rollback
- FixFixed amount rounding on KES transactions — no more 1 shilling discrepancies
Revenue Analytics Dashboard
Real-time revenue tracking, booking funnel analysis, fleet utilization metrics, and customer lifetime value — all in one dashboard.
- NewRevenue chart with daily/weekly/monthly breakdowns and period-over-period comparison
- NewFleet utilization rate per vehicle with idle detection alerts
- NewCustomer demographics and top-performing vehicles heatmap
- ImprovedStats API aggregates are cached — dashboard loads in under 200ms for fleets of 500+ vehicles
Fleetify 2.0 — Multi-Tenant SaaS Launch
Complete rewrite from a single-tenant app to a full multi-tenant SaaS platform. Every rental business gets their own branded storefront, admin dashboard, and isolated data.
- NewMulti-tenant architecture with per-tenant Prisma row-level isolation
- NewFully brandable storefronts — custom logo, colors, fonts, and domain
- NewWhatsApp OTP verification for customer registration and booking confirmation
- NewRole-based access control: ADMIN, MANAGER, AGENT, CUSTOMER
- NewTheme marketplace — tenants choose from multiple storefront themes
