chatbot-template/app/(chat)/api/billing/checkout
dmitry.galkin b5c399257f checkout: omit customerEmail when user has guest-style email
Stripe rejects emails like 'guest-1779719735974' with 400 email_invalid.
Falling back to no email lets Stripe collect it on the checkout page itself,
which is the standard flow for unauthenticated upgrades.
2026-05-25 18:36:12 +04:00
..
route.ts checkout: omit customerEmail when user has guest-style email 2026-05-25 18:36:12 +04:00