New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
acks_late replays a crashed job, but nobody has checked what a second run does to a real charge.
What you'll have at the end
A job that reaches the gateway with the same result whether it runs once or five times, proven by redelivering it on purpose and reading the gateway's own ledger rather than trusting its replies
You need
A background job that already runs behind a queue with confirm-after-success acknowledgment turned on, and that places a real charge with an outside payment gateway as part of its work.
Not covered
Any of the job's own database writes made in the same run carry their own protection, a separate concern from the gateway call this recipe closes.
Leans on
Checked 19 Aug 2026
Part of the Background Job Processing Systems cookbook