Menu

A timeout is not a decline, it's an unknown
📰

A timeout is not a decline, it's an unknown

DEV Community: backend·Payneteasy·11 days ago
#uxPC4FxD
#devtobackend#devto#dev#failed#second
Long article (258 words) — no AI summary yet.
Reading 0:00
15s threshold

Found this in a charge client with a 10 second HTTP timeout. The gateway usually answered in 1-3 seconds. During issuer slowness, a 3DS-less auth sometimes took 12-15 seconds.

Our code treated any exception the same way: mark the payment failed, show "payment failed, try again". The gateway had no idea we had given up. It finished the auth at second 13 and approved it.

Result: the customer clicks Pay again, gets approved a second time, and now holds two authorizations for one order. Support sees one failed attempt and one success. The issuer sees two holds.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.