From 3d8d1b50d597c96839e28ba01a222afd3d317fc7 Mon Sep 17 00:00:00 2001 From: "Claude (Chronicler #58)" Date: Fri, 3 Apr 2026 23:23:30 +0000 Subject: [PATCH] feat: Update subscribe buttons to use Discord OAuth flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- subscribe.njk | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/subscribe.njk b/subscribe.njk index f131fa3..7347e83 100644 --- a/subscribe.njk +++ b/subscribe.njk @@ -196,42 +196,18 @@ description: Choose your tier and join the Firefrost Gaming community

Fire + Frost + Foundation = Where Love Builds Legacy

- +