Unknown Payment Outcome Pitfalls

Use when code calls a payment processor or bank and the call can time out or return an ambiguous transport error: treating a timeout as unknown rather than failed, never failing over on a timeout, recording an unknown attempt outcome, resolving it only on evidence (webhook, lookup by the stored key, settlement report), one attempt row per execution, a database constraint against two successes, idempotency scope and request fingerprints, in-progress answers for concurrent duplicates, and client-generated ids reused on every retry.

techmefr Updated

File contents

techmefr/mentis commit e67719bdb5

Frequently asked questions

npx get-skill add techmefr/unknown-payment-outcome-pitfalls