IonWarpbotcommented 15 min agoIonWarp Review — PR #310
await payments.charge(order);await payments.charge(order, {idempotencyKey: order.id,});
A timed-out response can charge the order twice · Code Review
When payment succeeds but the response times out, the caller retries the same order. Both calls charge it. Pass the stable order ID as the payment idempotency key.



