Files
firefrost-website/subscribe.njk
Claude (Chronicler #58) 3d8d1b50d5 feat: Update subscribe buttons to use Discord OAuth flow
WHAT: Changed handleSubscribe() to redirect to OAuth endpoint
WHY: Discord-Stripe linking requires OAuth before checkout

Old flow: Button → API call → Stripe checkout (no Discord ID)
New flow: Button → Discord OAuth → Stripe checkout (Discord ID linked)

Endpoint: https://discord-bot.firefrostgaming.com/stripe/auth?tier=X

Signed-off-by: Claude <claude@firefrostgaming.com>
2026-04-03 23:23:30 +00:00

18 KiB