d
Topic
RK Member
Posts:
5
5 days ago

While uninstall of shopify app we are not receiving the web hook response.

{
    "webhooks": [
        {
            "id": 357267636294,
            "address": "https://<<Domain Name>>/setShopifyUninstall",
            "topic": "app/uninstalled",
            "created_at": "2018-09-14T07:02:02-04:00",
            "updated_at": "2018-09-14T07:02:02-04:00",
            "format": "json",
            "fields": [],
            "metafield_namespaces": []
        }
    ]
}

The above is registered webhook. I think this is installing properly. Why i am not getting responce when i uninstall the app? 

Any one has idea how can we get responce from shopify webhook. Please help me regarding this.

Thanks in advance...

i
Replies
Posts:
12
2 days ago

How do you understand you don't receive webhook?

1) You can montior server access logs right after uninstall app

2) You can add some logs to your app and then monitor logs 

Shopify App Developer https://apps.shopify.com/partners/craftshift
RK Member
Posts:
5
1 day ago

Hi Craftshift,

Thankyou for responce,

Yes i am adding apache logs and i am saving the responce in database also.

How can i add logs to app?

Useally after registering webhook, I am checking with postman by hitting webhook.json  end point. This is giving me below responce.

{
    "webhooks": [
        {
            "id": 332425953374,
            "address": "https://www.mydomain.com/shopifywebhook/setShopifyUninstall",
            "topic": "app/uninstalled",
            "created_at": "2018-09-17T04:00:21-04:00",
            "updated_at": "2018-09-17T04:00:21-04:00",
            "format": "json",
            "fields": [],
            "metafield_namespaces": []
        }
    ]
}

 

After that i un installed the shopify app. But i did not receiving any responce. Do you have any idea what issue i am facing?

Waiting for your reply...

RK