handle refunds made in the Mollie dashboard on settled charges #146

Stängd
öppnade 2026-10-12 13:15:03 +00:00 av supernaut · 1 kommentar
Ägare

Refund events are recorded and not applied (src/billing.ts:1449-1451), and a non-pending charge returns early (:1459-1460).

Mollie documents dashboard refunds and sends the payment webhook for them (https://docs.mollie.com/docs/refunds, https://docs.mollie.com/reference/webhooks).

Failing cases:

  • Support fully refunds an active customer in the Mollie dashboard. Access stays and the next renewal is charged.
  • If that customer later withdraws, the refund create is refused because the payment is already refunded. issueRefund then fails every sweep and the customer sees pending.

Fix, either:

  • flag a refund event whose refund id matches no local providerRefundRef as [reconcile] ... needs manual review, or
  • state in the README and the runbook that settled charges are never refunded in the dashboard.
Refund events are recorded and not applied (`src/billing.ts:1449-1451`), and a non-pending charge returns early (`:1459-1460`). Mollie documents dashboard refunds and sends the payment webhook for them (https://docs.mollie.com/docs/refunds, https://docs.mollie.com/reference/webhooks). Failing cases: - Support fully refunds an active customer in the Mollie dashboard. Access stays and the next renewal is charged. - If that customer later withdraws, the refund create is refused because the payment is already refunded. `issueRefund` then fails every sweep and the customer sees `pending`. Fix, either: - flag a refund event whose refund id matches no local `providerRefundRef` as `[reconcile] ... needs manual review`, or - state in the README and the runbook that settled charges are never refunded in the dashboard.
supernaut lade till detta till projektet Bitborg Payment 2026-10-12 13:16:14 +00:00
Upphovsperson
Ägare

Decided: never refund a settled charge in the Mollie dashboard (README and runbook rule). A refund event whose refund id matches no local refund logs [reconcile] ... needs manual review, so the existing alert fires. With #133 built, a full dashboard refund also ends access.

Decided: never refund a settled charge in the Mollie dashboard (README and runbook rule). A refund event whose refund id matches no local refund logs `[reconcile] ... needs manual review`, so the existing alert fires. With #133 built, a full dashboard refund also ends access.
Logga in för att delta i denna konversation.
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-payment#146
Ingen beskrivning angiven.