Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1328

Mutiple webhooks called payments.updated

$
0
0

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:
:white_check_mark: Verify if the payment was successful.
:white_check_mark: Update our database accordingly.
:white_check_mark: 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

Read full topic


Viewing all articles
Browse latest Browse all 1328

Trending Articles