Events: guest tickets in My Tickets (localStorage) until account claim exists #145

Open
opened 2026-09-06 17:55:35 +00:00 by padreug · 0 comments
Owner

With guest checkout (#144) a buyer without an account gets the ticket by email and on the Stripe return dialog, and can reopen it via /events/ticket/:ticketId. /my-tickets stays login-gated, so a guest who closes the dialog has only the email.

Proposal

  • Persist purchased ticket ids per event in localStorage (events:guest-tickets) when the return dialog / Lightning poll sees them paid (the events:pending-checkout record already carries the ids).
  • MyTicketsPage for unauthenticated visitors: render those ids via the anonymous getTicket read (paid / registered state, QR with logo), with a note that they are stored on this device only and a link to the emailed ticket.
  • On login, hand the ids to the "claim guest tickets" flow (aiolabs/events issue) and clear the local copy.

Device-local by nature; the email remains the durable record.

With guest checkout (#144) a buyer without an account gets the ticket by email and on the Stripe return dialog, and can reopen it via `/events/ticket/:ticketId`. `/my-tickets` stays login-gated, so a guest who closes the dialog has only the email. ## Proposal - Persist purchased ticket ids per event in localStorage (`events:guest-tickets`) when the return dialog / Lightning poll sees them paid (the `events:pending-checkout` record already carries the ids). - `MyTicketsPage` for unauthenticated visitors: render those ids via the anonymous `getTicket` read (paid / registered state, QR with logo), with a note that they are stored on this device only and a link to the emailed ticket. - On login, hand the ids to the "claim guest tickets" flow (aiolabs/events issue) and clear the local copy. Device-local by nature; the email remains the durable record.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aiolabs/webapp#145
No description provided.