Idempotency Explained Simply

Why “click Pay twice, charged once” is so much harder than it looks