Claim guest tickets into an account (match ticket.email) #37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Guest checkout (#36) issues tickets keyed by
name+emailwith no LNbits account; the buyer keeps them via the emailed link / QR and the on-screen return dialog. Later, a guest who creates an account (or logs in) should see those tickets in My Tickets.Shape
emailmatches (UPDATE events.ticket SET user_id = :uid WHERE email = :email AND user_id IS NULL), or exposePOST /api/v1/tickets/claimthat does it for the current user.UserExtra.email_verified) — otherwise anyone could claim tickets by typing someone else's address.Deferred from the pure-guest decision in the guest-checkout plan; pairs with aiolabs/webapp "guest tickets in My Tickets via localStorage".