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

Sammanfogat
supernaut sammanfogade 1 incheckning från feat/signup-paid-on-account in i main 2026-10-11 19:15:51 +00:00
Ägare

Closes #363

Sign-up now creates a participant or trial account only. Paying is an upgrade from the account page.

  • Remove the paid account type from sign-up: radio, country field, ?status=paid notice, welcome page text and the API branch. A submitted accountType=paid gives a participant account.
  • The account page upgrade form asks for the country. beginCheckout() refuses non-Swedish residents (checkoutSupports()) with a new country status, before anything is stored or sent to billing, and records the country on the signups row. A paid account renewing is not asked.
  • Remove offeredAccountTypes(), requiresCountry() and isEligible(). Sign-up offers trial (while TRIAL_OPEN) and participant.
  • Update en/sv strings, the signup design doc, the accounts guide and two FAQ items.
  • No schema change. signups.country_code and region are now filled at checkout.
  • Version 1.35.0.

Not in this PR: the terms and privacy pages still say the country is given at sign-up. Changing them needs a terms version bump and is handled separately.

Tests: new test that sign-up ignores accountType=paid; new checkout tests for the country check; removed the paid sign-up tests. Pre-push ran lint, type-check, vitest, build and e2e.

Closes #363 Sign-up now creates a participant or trial account only. Paying is an upgrade from the account page. - Remove the `paid` account type from sign-up: radio, country field, `?status=paid` notice, welcome page text and the API branch. A submitted `accountType=paid` gives a participant account. - The account page upgrade form asks for the country. `beginCheckout()` refuses non-Swedish residents (`checkoutSupports()`) with a new `country` status, before anything is stored or sent to billing, and records the country on the `signups` row. A paid account renewing is not asked. - Remove `offeredAccountTypes()`, `requiresCountry()` and `isEligible()`. Sign-up offers trial (while `TRIAL_OPEN`) and participant. - Update en/sv strings, the signup design doc, the accounts guide and two FAQ items. - No schema change. `signups.country_code` and `region` are now filled at checkout. - Version 1.35.0. Not in this PR: the terms and privacy pages still say the country is given at sign-up. Changing them needs a terms version bump and is handled separately. Tests: new test that sign-up ignores `accountType=paid`; new checkout tests for the country check; removed the paid sign-up tests. Pre-push ran lint, type-check, vitest, build and e2e.
supernaut lade till 1 incheckning 2026-10-11 19:13:27 +00:00
feat(signup): move the paid choice from sign-up to the account page
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m55s
fd0b019d56
Sign-up creates a participant or trial account only. The account page upgrade form asks for the country and checkout refuses non-Swedish residents.
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-11 19:14:33 +00:00
supernaut sammanfogade incheckning 26930d3540 till main 2026-10-11 19:15:51 +00:00
supernaut tog bort grenen feat/signup-paid-on-account 2026-10-11 19:15:51 +00:00
Logga in för att delta i denna konversation.
Inga granskare
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!365
Ingen beskrivning angiven.