Payment integrations and timeout recovery
- Problem
- Partner timeouts can leave a payment's final state uncertain, while a careless retry can duplicate a financial action.
- Engineering approach
- Model request identity and transaction state explicitly, separate transport success from business outcome, and define an enquiry path before retry.
- Controls
- Idempotency keys, bounded retries, correlation IDs, exception queues, and reconciliation checks.
- Outcome
- A flow designed to recover from uncertainty without silently treating a timeout as either success or failure.