The fix has been running in production since 15:20 UTC.
We reproduced the issue in a test environment and confirmed the fix holds under heavier load than production sees, with no impact on data: all orders and payments from the incident window were processed correctly, and delayed confirmation emails have been sent.
Our new alerting would have caught this within 5 minutes.