/ tag
Reliability
1 post on this topic.
-
Charging a card once in Rails: the guard I shipped, and the gaps I didn't close
A payments flow is 'at least once' at every layer — retries, double-clicks, replayed webhooks. Here's the guard that stops the common cases, an honest accounting of the ones it doesn't, and how I'd close them.