We are developing an app for which the store subscribes to the “app/uninstalled” Webhook on installation. We have successfully subscribed to the Webhook using the REST API by sending a POST request. When retrieving the Webhooks subscriptions using a GET request, we find that the subscription has been successful :
{"id":1159310344412,"address":"https:\/\/wlarch.loca.lt\/uninstall","topic":"app\/uninstalled","created_at":"2022-08-18T07:14:28-04:00","updated_at":"2022-08-18T07:14:28-04:00","format":"json","fields":[],"metafield_namespaces":[],"api_version":"2022-01","private_metafield_namespaces":[]}
When uninstalling the app from our store, we receive the “app/uninstalled” Webhook and reply with a 200 OK response.
The problem in two parts :
-
We cannot see the Webhook logs in our Partners Dashboard under Webhook Deliveries. Our app shows no data, and No Deliveries, although we have successfully received the “app/uninstalled” Webhook.
-
We are receiving multiple “app/uninstalled” Webhook even when we are not removing the app. Comparing the “x-shopify-webhook-id” header shows different values every time.
Can anyone help us figure out why this is not working as expected ?
Thanks for your support.