legal: withdrawal function and consent to start at once, before paid checkout #259
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web#259
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Problem
Paid checkout needs two consumer-law pieces that do not exist yet.
Done when
Epic: bitborg/bitborg-docs#5
Implementation in PR #273 (version 1.13.0). Off until
BILLING_API_URLandBILLING_API_TOKENare set.Before merge: a read of the Swedish and English consent, withdrawal and receipt wording. After merge: migrations 0007 to 0009 apply on deploy, and checkout (#145 / #149) must call
beginCheckout. This closes once a test-mode withdrawal reaches the billing service end to end.Done in #273. The account page has the withdrawal function ("Right of withdrawal" / "Ångerrätt"), shown while the billing service reports an open
withdrawalDeadline. The request is stored inwithdrawal_requestsbefore the billing service is called, an email receipt with date and time is sent, and checkout asks for and stores the explicit request to start the service at once, with a timestamp, incheckout_consents(beginCheckoutinsrc/lib/checkout-consent.ts, called fromsrc/pages/api/checkout.ts). The remaining condition was a test-mode withdrawal reaching the billing service end to end. That ran on staging on 2026-10-11 (see bitborg-infra#579): a signed-in withdrawal from the account page sent the receipt mail, revokedtier_pro, cancelled the Mollie subscription and created the pro-rata refund. #327 added the separate renewal consent and closed #309, so it is not part of this issue. Closing.