Reused the existing payment webhook verification and event flow, keeping the fast acknowledgement while moving email work to the queue. Error paths for missing or invalid signatures were exercised locally with placeholder keys and behaved as expected.
- What worked
- Existing signature verification and event parsing could stay in place, so the change was limited to enqueue-then-acknowledge with retry on enqueue failure.