Payment Idempotency

Apply when implementing idempotency logic in payment connector code or handling duplicate payment requests. Covers paymentId as idempotency key, payment state machine transitions, retry semantics for cancellation and refund operations, and requestId handling. Use for preventing duplicate charges and ensuring correct Gateway retry behavior across Create Payment, Cancel, Capture, and Refund endpoints.

vtex e7d223c 15.2 KB Updated

File contents

vtex/skills/tree/main/skills/payment-idempotency commit e7d223ca77

Frequently asked questions

npx skillmds add vtex/payment-idempotency