refunds: log and list failed refunds until reviewed #115
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#115
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?
What
A refund that ends
failedis reviewed by nobody once the one-time log line has scrolled by. Extends #87.Done already
The once-only log shipped in #154:
[reconcile] ... needs manual reviewwhen a refund turnsfailedat the provider.Why
The customer is owed the money. The sweep skips a
failedrefund, so no later line reminds the operator. Nothing records that someone looked.Failing case
A withdrawal refund goes to a closed card. Mollie fails it. The log line appears once. A week later nothing says the refund is still unsettled.
Fix
reviewed_attorefund(migration).reconcile, log a repeating[reconcile] <n> failed refund(s) unreviewed, oldest <id> since <time>line, as for chargebacks.UPDATE refund SET reviewed_at = now()step.Done when
reviewed_atis set.