Return Meet attendees to join flow after event registration.
Deploy Ladill Events / deploy (push) Successful in 47s

Add badge verification API, preserve meet_return through registration and payment, and link confirmation back to Meet with badge auto-login.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-03 14:36:42 +00:00
co-authored by Cursor
parent 9eab538f2e
commit 7cce194567
9 changed files with 197 additions and 8 deletions
@@ -98,6 +98,9 @@ class EventRegistrationService
}
$amountMinor = (int) round($priceGhs * 100);
$meetReturn = trim((string) ($data['meet_return'] ?? ''));
$metadata = $meetReturn !== '' ? ['meet_return' => $meetReturn] : null;
$registration = QrEventRegistration::create([
'qr_code_id' => $qrCode->id,
'user_id' => $qrCode->user_id,
@@ -111,6 +114,7 @@ class EventRegistrationService
'attendee_phone' => trim((string) ($data['attendee_phone'] ?? '')) ?: null,
'badge_fields' => $badgeFields ?: null,
'status' => $amountMinor > 0 ? QrEventRegistration::STATUS_PENDING : QrEventRegistration::STATUS_CONFIRMED,
'metadata' => $metadata,
]);
if ($amountMinor === 0) {