TAS Running Events Registration
Multi-event running event registration platform for Total Active Sports (totalactivesports.net). Supports custom drag-and-drop registration forms per event, SSLCommerz payments, Amazon SES emails, ADNsms SMS, and a role-based admin/organizer dashboard.
Form Designer
Each event has a custom registration form built using the drag-and-drop Form Designer at /admin/events/[id]/form.
Available field types: Text, Email, Phone, Number, Textarea, Dropdown, Radio Group, Checkbox Group, Date Picker, File Upload
Three fixed fields are always collected on every registration form (not part of the designer):
Full Name
Email Address
Phone Number
Custom field responses are stored as JSONB in registrations.form_data, keyed by FormField.id.
Payment Flow (SSLCommerz)
Participant submits form →
POST /api/payment/initiatecreates a pending registrationClient redirects to SSLCommerz gateway
After payment → SSLCommerz POSTs IPN to
POST /api/payment/callbackIPN webhook validates server-to-server, calls
next_registration_id(), confirms registrationEmail + SMS notifications fire non-blocking after confirmation
The IPN webhook is the only place payment status changes to confirmed. Never trust redirect URL parameters.