billing: keep chargeback evidence for every payment #101
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-payment#101
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?
Goal
Keep, per payment, the evidence needed to answer a card chargeback. The relevant reason is "cancelled recurring transaction" (Visa 13.2), where the customer says a renewal was charged after they cancelled or without consent.
What to record
autoornone) and interval.Also
Document in the readme that renewals are merchant-initiated and run without 3-D Secure, so they carry no liability shift. Only the first payment is authenticated. This is an accepted risk.
Done when
Done in #107.
chargebackEvidenceinsrc/evidence.tsbuilds the answer to a chargeback from stored data alone: the consent text hash, text, shown-at time and language from the first checkout charge, the renewal choice and interval, the first payment with its mandate and 3-D Secure result as Mollie reports it (card_security), each cancellation with its requested and effective time, and every paid renewal charge with date, amount and mandate. The snapshot is stored on thechargebackrow when the chargeback is first recorded. The README states that renewals are merchant-initiated, run without 3-D Secure and carry no liability shift, as an accepted risk.src/billing.test.tscovers what is recorded at checkout, cancellation and renewal. Closing.