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

Payment webhooks with multiple "payment link" items

$
0
0

Hi,

I’m struggling to get payment webhooks to work as expected with 2 items. Let’s call it:

Coke, has a payment.updated webhook called coke_webhook
Pepsi, has a payment.updated webhook called pepsi_webhook

I have coke_app which is supposed to listen to Coke payments only. I mean, it only has a route for coke_webhook.
I have pepsi app which is supposed to listen to Pepsi payments only. I mean, it only has a route for pepsi_webhook.

The problem i’m having is that when somebody buys a pepsi, the coke app also gets a notification about it. (And vice versa.)

I’ve checked that the URL’s for the 2 different webhooks (coke_webhook and pepsi_webhook) are different and correct in the Square Developer Dashboard.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1333

Trending Articles