ARCHIVE 03 · FACILITY PLATFORM & CONCURRENCY
Agnel Arena Futsal & Turf Booking Platform
Agnel Arena Futsal is a multi-arena futsal and turf booking platform built for athletic facilities. Built with Next.js 15 App Router and PostgreSQL, it provides mobile-based OTP login via AiSensy WhatsApp API (with SMS fallback), 10-minute concurrent session slot locks during checkout to prevent double-booking collisions, PayU gateway integration with strict payment status enforcement (confirmed, failed, cancelled), restricting PDF ticket access exclusively to confirmed bookings, and dynamic checkout payment restrictions (UPI, Debit Cards, Net Banking, and Wallets).
Problem
Turf double-bookings, manual cash handling friction, and payment drop-offs during peak reservation hours.
Built
Multi-arena turf booking platform built with Next.js 15 App Router, PostgreSQL, PayU Gateway, and AiSensy WhatsApp OTP.
Outcome
Concurrent 10-minute session slot locking, automated ticket security, and restricted payment modes.
Key features
- Instant OTP Authentication: Seamless mobile login via AiSensy WhatsApp API with SMS fallback
- Concurrent Slot Locking: 10-minute session slot reservation locks preventing double-booking collisions
- Payment Lifecycle & Ticket Security: PayU integration with strict status enforcement and PDF ticket security
- Dynamic Method Restrictions: Enforces checkout to UPI, Debit, Net Banking, and Wallets (blocks Credit/BNPL)
- Multi-arena administrative dashboard for court schedules, player records, and revenue tracking
Architecture
- Framework: Next.js 15 App Router with server actions and optimized cache invalidation
- Database: PostgreSQL with ACID transaction locks for concurrent slot reservation
- Integrations: PayU Payment Gateway + AiSensy WhatsApp/SMS communication APIs
Next.js 15 · PostgreSQL · PayU Gateway · AiSensy WhatsApp OTP