App uninstall Webhook is not working (Laravel)

Shopify Partner
14 1 2

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