App uninstall Webhook is not working (Laravel)

Vikas7819
Shopify Partner
23 1 4

webhook for Uninstalling an Shopify App in PHP (laravel)

 

{"webhook":{"id":430537113677,"address":"https:\/\/domain.com\/setShopifyUninstall","topic":"app\/uninstalled","created_at":"2019-02-11T05:27:17-05:00","updated_at":"2019-02-11T05:27:17-05:00","format":"json","fields":[],"metafield_namespaces":[]}}

I got above response once I create my webhook. Following is my route where I want to redirect once someone uninstall my app.

Route::get('/setShopifyUninstall', 'HomeController@uninstallApp');

at this I am just trying to delete entry in my local database for that store that is going to uninstalled my app.

0 Likes
josepalonzo
New Member
3 0 0
Route::get('/setShopifyUninstall', 'HomeController@uninstallApp')
->middleware('auth.webhook')

  your route can be maybe use the middleware 

 

0 Likes

Hi,

Shop redact hook call is sent 48 h (or similar) after actual uninstall. Just received one yesterday :(, 

https://apps.shopify.com/picamaze
Animated watermarks for product images and ads
0 Likes