feat: reconcile paid mollie payments that left no local charge #65
Inga granskare
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!65
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/mollie-reconcile"
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
Reconcile Mollie payments that left no settled local charge.
reconcile()lists Mollie payments from the last 14 days and replays each paid one with no settled local charge throughhandleWebhook. Dedupe, row locks and the duplicate-checkout guard apply unchanged. No new refund, cancel or grant logic.paidAt, so periods and the withdrawal deadline match Mollie's schedule.metadata.subscriptionId. The webhook claims the charge by that reference only for a first payment with an exactly matching SEK amount. Any mismatch is flagged.[reconcile] <id> is paid at the provider with no settled local charge; needs manual reviewonce per payment id.Review fixes (
00d3d20):incompletesubscription.Verification
Not done
[reconcile]line.[webhook] ... left unprocessedlines still repeat on every pass.Refs #62
00d3d201f8d7b4376df8