← All tags

#payments

2 entries tagged #payments

  • Your Logging Sucks!

    Post · Sep 23, 2026

    A checkout endpoint with a log line at every step looks like good observability, right up until a customer says "my payment failed" and you have thirteen unrelated lines from thirteen unrelated requests to sort through. The fix isn't more logs, it's one wide event per request instead.

  • Why Payment Retries Need Idempotency

    Post · Sep 11, 2026

    A plain payment endpoint looks correct until you trace what a double-click, a timed-out request, or a redelivered webhook actually does to it. Each one turns one payment into two. Idempotency keys are the fix, at two layers most write-ups skip.