chargeback events are emitted but nothing handles them #16
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#16
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?
parseCallbacknow emits chargeback events (chb_1:open,chb_1:reversed), added alongside the refund events in #13 because chargebacks were being silently dropped for the identical reason. But there is nowhere for them to go: nochargebacktable, no handler, no entitlement consequence.So the events are produced and then discarded — which is better than not seeing them at all, but it is not handling a dispute.
What a chargeback actually means here
It is not just a failed payment. A chargeback is money already taken back by the cardholder's bank, usually with a fee, and it carries a decision the service has to make: does the person keep their entitlements while the dispute is open, and what happens on
reversed(we won) versus a chargeback that stands (we lost)?That is a policy question, not just a missing table. The existing subscription statuses do not express it:
past_duedeliberately keeps access alive during the provider's retry window, which is the right answer for a retryable failure and the wrong answer for a dispute.Done when
Not urgent: payments have not launched, so no chargeback can occur yet. It should be closed before the first live charge, since the first time this matters is the first time it happens.
Done by #75, released in v0.4.0. A chargeback is recorded per Mollie chargeback id (migration 0006), so a replay acts once. Entitlements: a chargeback on a live subscription revokes
tier_proand stops renewal; a full reversal restores it while the paid period runs; the edge cases are flagged for manual review. Credit notes stay with #63.