Make a queued checkout safe to retry
Mid · practical lab · 35 min · runtime php-cli
Brief
A payment action is retried by the queue and can charge twice. Design an idempotency key strategy so the same logical request is only processed once, and state what happens when the key is reused with different input.
3 progressive hints are available in the editor.
Public checks
- identifies duplicate charge — expected:
mentions retry causing a second charge