Hello Team,
We have noticed that our server is receiving multiple simultaneous requests to the webhook endpoint configured for payment.updated
, payment.created
and order.updated
events in the Checkout API. These webhook events are triggered after a payment is completed via the Square Payment Link.
Our primary concern is with the payment.updated
event, as we rely on it to:
Verify if the payment was successful.
Update our database accordingly.
Send a payment confirmation notification to the customer.
However, since the same webhook event is triggered multiple times, customers will receive duplicate notifications, which is incorrect.
What is the recommended approach to handle these duplicate webhook events effectively?
Thanks
4 posts - 2 participants