Developers
Edit on GitHubGo-live checklist
The dashboard steps (Stripe, Vercel, email) still to do before the website's features work in production, and the switches to flip when pre-alpha ends.
Things to finish in outside dashboards (Stripe, Vercel, email) before the website's features work in production, plus the switches to flip when pre-alpha ends. Tick each box as it's done. Code changes that need one of these steps add it here.
The details live in the linked docs; this page is the list.
Support payments and the SUPPORTER badge#
Until these are done, the download page offers the free download only (no STRIPE_SECRET_KEY), or tips work but are recorded only when the payer reaches the thank-you page (no STRIPE_WEBHOOK_SECRET). The full setup is in Supporting Riffover.
- Stripe account: finish activation, set the public business name and the statement descriptor (
RIFFOVER), and turn on receipt emails. - Restricted key: Developers → API keys → Create restricted key, with Checkout Sessions: Write only.
- Webhook: Developers → Webhooks → Add endpoint.
- Endpoint URL:
https://www.riffover.com/download/webhook - Events:
checkout.session.completedandcheckout.session.async_payment_succeeded - Reveal the endpoint's signing secret (
whsec_…).
- Endpoint URL:
- Vercel env: set
STRIPE_SECRET_KEYandSTRIPE_WEBHOOK_SECRET(Production), then redeploy. The download page is prerendered, so the support section only appears after a deploy with the key set. - Try it in test mode first: a test-mode key (
rk_test_…) and a test-mode endpoint's secret in the Preview environment, then pay with Stripe's test card4242 4242 4242 4242and check that the SUPPORTER badge appears in Settings → Support and badges. - Optional: a Stripe product for reports (
STRIPE_PRODUCT_ID). - Before taking payments abroad: set up Stripe Tax, then
STRIPE_AUTOMATIC_TAX=1.
Stripe's checkout button stays Pay (submit_type: "pay" in web/app/download/checkout/route.ts), not "Donate": that can read as a tax-deductible gift, and Flagon isn't a charity.
The database tables for donations and badges (migration 0009_badges_donations) need nothing by hand: npm run db:migrate runs before every build.
Email#
Without an email provider, sign-up skips verification and password reset by email shows "not available yet". It also means a tip paid while signed out links to an account only once that account has verified the same email, so until email is on, only tips paid while signed in earn the badge. See web/.env.example.
- Email provider: set
RESEND_API_KEYandEMAIL_FROM(e.g.Riffover <no-reply@riffover.com>) on Vercel, with the sending domain verified at the provider, then redeploy. - Check it: sign up with a fresh address, confirm the verification email arrives, and that password reset sends.
When pre-alpha ends#
- PRE-ALPHA PLAYER badge: set
PRE_ALPHA_UNTILinweb/lib/badges.tsto the end date. Accounts made before it keep the badge. - Install window: set
showInstallGuideinweb/lib/install-guide.tstofalseonce the installer no longer needs SmartScreen's "More info → Run anyway" steps (a signed installer).