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
Claude (Chronicler #57)
243b9d41f0
feat: implement Stripe JavaScript checkout on subscribe page
...
Replaced all Paymenter links with JavaScript-powered Stripe checkout flow
per Gemini architectural consultation verdict (Option 2).
WHAT WAS DONE:
- Converted all 10 subscribe links from <a> tags to <button> tags
- Added onclick handlers: handleSubscribe(event, tier_level)
- Implemented Gemini's JavaScript checkout function at bottom of page
- Added proper error handling and button state management
THE GEMINI VERDICT - WHY OPTION 2:
Critical insight: THE DOUBLE-CLICK DANGER
- Option 1 (direct links): 800ms-1.5s wait with NO visual feedback
- Gamers click again when nothing happens = multiple checkout sessions
- Option 2 (JavaScript): Button disables INSTANTLY, prevents double-clicks
- Industry standard per Stripe official documentation
FILES MODIFIED:
- subscribe.njk (10 button updates + 41 lines JavaScript added)
SOFT LAUNCH: 11 days remaining (April 15, 2026 target)
Signed-off-by: Claude (Chronicler #57 ) <claude@firefrostgaming.com >
2026-04-03 15:59:20 +00:00
Claude (Chronicler #56)
fec394d56e
feat: add Trinity hero image to subscribe page
...
Added The-Trinity-3.png hero image at top of subscribe page showing
Fire (orange), Arcane (purple), and Frost (cyan) Minecraft characters.
Image path: /assets/images/2026/03/The-Trinity-3.png
This matches the Ghost CMS layout and visually represents the three
paths before users choose their subscription tier.
Signed-off-by: Claude (Chronicler #56 ) <claude@firefrostgaming.com >
2026-04-03 01:55:52 +00:00
Claude (Chronicler #56)
5ba92faadf
feat: complete subscribe page with all 6 tiers
...
WHAT WAS DONE:
Replaced placeholder subscribe page with complete tier layout from Ghost backup.
All 6 tiers with Fire/Frost split cards and Sovereign (Founder) gold tier.
TIERS INCLUDED:
1. The Awakened ($1 one-time) - Entry tier, 1 home
2. Fire/Frost Elemental ($5/month) - Path choice, 5 homes, 25 chunks
3. Fire/Frost Knight ($10/month) - 10 homes, 49 chunks, 4 force-loaded
4. Fire/Frost Master ($15/month) - 20 homes, 100 chunks, 9 force-loaded
5. Fire/Frost Legend ($20/month) - 35 homes, 121 chunks, 16 force-loaded
6. Sovereign/Founder ($499 lifetime) - 50 homes, 225 chunks, 81 force-loaded
PAYMENTER LINKS (CRITICAL - DO NOT CHANGE):
All Subscribe buttons point to billing.firefrostgaming.com/products/subscriptions/[tier-name]
These URLs are configured in Paymenter and trigger webhooks for Discord role assignment.
Example URLs:
- https://billing.firefrostgaming.com/products/subscriptions/the-awakened
- https://billing.firefrostgaming.com/products/subscriptions/fire-elemental
- https://billing.firefrostgaming.com/products/subscriptions/frost-elemental
- https://billing.firefrostgaming.com/products/subscriptions/fire-knight
- https://billing.firefrostgaming.com/products/subscriptions/frost-knight
- https://billing.firefrostgaming.com/products/subscriptions/fire-master
- https://billing.firefrostgaming.com/products/subscriptions/frost-master
- https://billing.firefrostgaming.com/products/subscriptions/fire-legend
- https://billing.firefrostgaming.com/products/subscriptions/frost-legend
- https://billing.firefrostgaming.com/products/subscriptions/sovereign-founder
CONTENT SOURCE:
Restored from docs/website/ghost-pages/subscribe.html (saved by The Migrator)
BRANDING:
- Fire (#FF6B35) and Frost (#4ECDC4) split cards
- Sovereign with Gold (#FFD600) treatment and LIFETIME ACCESS badge
- Trinity gradient hero section
- All pricing and features match production Paymenter config
STATUS:
Ready for Cloudflare Pages deploy - DO NOT modify Paymenter URLs without
coordinating with billing system configuration.
Signed-off-by: Claude (Chronicler #56 ) <claude@firefrostgaming.com >
2026-04-03 01:52:27 +00:00
The Trinity
1a8a5eb6f9
build: Rebuild site with all 7 pages
2026-04-02 19:51:54 -05:00