feat(signup): move the paid choice from sign-up to the account page #363

Stängd
öppnade 2026-10-11 19:04:46 +00:00 av supernaut · 0 kommentarer
Ägare

Sign-up offers a "paid" account type, but payment cannot happen in the sign-up form (docs/design/signup.md). A paid sign-up creates a participant account, asks for a country, and shows a notice that links to /account. A user who picks "paid" expects a payment step and gets none.

Decouple paying from sign-up:

  • Sign-up only creates the account: participant, or trial while TRIAL_OPEN is on. Remove the paid account type, its country field and the ?status=paid notice from the form and src/pages/api/signup.ts.
  • The account page offers the upgrade to paid. The country question and the SE-only check (checkoutSupports()) move into the checkout step.
  • Update docs/design/signup.md, the welcome page copy, the i18n strings and the tests that cover the paid sign-up path.

Needed before self-serve checkout goes live (bitborg-infra#496).

Sign-up offers a "paid" account type, but payment cannot happen in the sign-up form (`docs/design/signup.md`). A paid sign-up creates a participant account, asks for a country, and shows a notice that links to `/account`. A user who picks "paid" expects a payment step and gets none. Decouple paying from sign-up: - Sign-up only creates the account: participant, or trial while `TRIAL_OPEN` is on. Remove the `paid` account type, its country field and the `?status=paid` notice from the form and `src/pages/api/signup.ts`. - The account page offers the upgrade to paid. The country question and the SE-only check (`checkoutSupports()`) move into the checkout step. - Update `docs/design/signup.md`, the welcome page copy, the i18n strings and the tests that cover the paid sign-up path. Needed before self-serve checkout goes live (bitborg-infra#496).
supernaut lade till detta till projektet Bitborg Web 2026-10-11 19:05:50 +00:00
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-web#363
Ingen beskrivning angiven.