Skip to content
update

timeouts are not failures. if the bank API times out you…

Arjun Mehta@arjunmehta

October 18, 2026

timeouts are not failures. if the bank API times out you dont know whether money moved. mark it UNKNOWN, then query status or retry with the same idempotency key. never show 'payment failed, try again' on a timeout, thats how double charges happen

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.

Comments

4

Sign in to join the conversation.

Sign in to comment
Fatima Al-Sayed@fatima_appsec
And show the user an honest "we are checking your payment" state. People forgive slow. They do not forgive charged twice.
0 net votes
mark@mark
Yeah
0 net votes
mark@mark
Yupp
0 net votes
Grace Wanjiru@grace_wanjiru
Sharing this with my mentees. The "unknown" state is the thing nobody teaches in bootcamp, every tutorial has only success and error.
1 net votes