Questions
Webhook retries duplicating payment events – how should idempotency be handled?
Hello everyone,
I’m integrating Paynova into our payment flow and I’ve run into an issue that I’m not fully sure how to handle correctly.
We’re using webhooks to confirm successful payments, but occasionally the same event is being delivered more than once (likely due to retries when the first response is delayed). This is causing duplicate processing on our side.
Right now, we’re checking the event ID manually, but I’m not sure if this is the recommended approach or if Paynova already provides a built-in way to handle idempotency.
So my questions are:
Does Paynova guarantee exactly-once delivery for webhooks, or should we assume at-least-once delivery?
Is there an official recommended pattern for handling duplicate webhook events?
Are there any headers or event identifiers that should be used specifically for idempotency keys?
I want to make sure we’re implementing this in the cleanest and most reliable way.
Any advice or best practices would be greatly appreciated.
Thanks in advance!
