We have a Square account (lets call it A) which is connected to our application and whenever a merchant links there Square account with us, we take the necessary permissions to ORDERS_READ+ITEMS_READ+MERCHANT_PROFILE_READ+PAYMENTS_READ+ORDERS_WRITE+PAYMENTS_WRITE
to create order, create payments and read merchant details etc from their Square account.
Now recently on Square account A, I had enabled the locaton.updated
subscription for Square to trigger our entered webhook URL whenever a merchant edits any location details.
I did this first on sandbox env and initially it was working fine then after a few days I also enabled it on production and over there as well its working fine. But now since last week it has randomly stopped working for sandbox env. Square doesn’t trigger the webhook URL when any change to the location is made. It still works on production.
We are using API version 2022-08-23.
The Signature key and everything else is setup correctly. We also have subscribed to events like catalog.version.updated
which are working fine on both sandbox and prod.
What could be the issue here?
I tried to unsubscribe and subscribe to the location.updated
webhook on sandbox but still no luck.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
no this didn’t solve the issue.
What changes to the location were you listening to?
Any type of change. I tried with business hours, location name, location image etc but its not triggering the webhook
What’s your application ID?
its sq0idp-TcUjud5cVASXQhjSfR8vRw
(I hope you meant this)
There is one more called Application ID which starts with sandbox but I believe thats Client ID.
Do you want me to share that instead?
following up on this
I was able to replicate this and have reached out to the team.
thank you. hoping for a quick resolution.
following up on this.
Found Bryan’s reach out to the Square team. Team’s noted that they deployed a fix EOD Friday, Nov 1st. Please test it out and let us know if it worked!
yeah it worked. Thanks a lot!!