Good to know
How to make sure a network hiccup never makes a customer pay twice.
If your request times out, you cannot know whether we received it. Retrying can charge twice, unless you send an Idempotency-Key header.
Create the key when the customer presses the button, store it with the order, and reuse it for every retry of that order. A new key means a new payment.
Still stuck?
Tell us what you tried and what you saw, and we will help.