Webhooks not firing

Webhooks not firing

phil_auspost
Shopify Partner
1 0 1

I've subscribed to a couple of webhooks on a shop of our customer, so that our system gets notified of new orders.

While they seem to be set up correctly, they don't seem to fire at all.

 

I've set up a single endpoint that logs any request, but no request appear to be made. I can't even see any calls to this URL in the web servers access log.

It works fine if I open the URL in a browser or via postman.

 

I've subscribed to `orders/create` and `orders/paid`.

 

Is there any way to debug this? Unfortunately I don't have admin access to the clients' Shopify account.

 

If I retrieve a list of webhooks, they are returned correctly:

 

 

 

 

 

{
    "webhooks": [
        {
            "id": 1048854036551,
            "address": "https://xxxx.yyyy/shopify/webhooks.php",
            "topic": "orders/paid",
            "created_at": "2022-06-23T15:47:58+10:00",
            "updated_at": "2022-06-23T15:47:58+10:00",
            "format": "json",
            "fields": [
                "billing_address",
                "cancelled_at",
                "closed_at",
                "created_at",
              [...]
            ],
            "metafield_namespaces": [],
            "api_version": "2022-04",
            "private_metafield_namespaces": []
        },
        {
            "id": 1048854069319,
            "address": "https://xxxx.yyyy/shopify/webhooks.php",
            "topic": "orders/create",
            "created_at": "2022-06-23T15:48:03+10:00",
            "updated_at": "2022-06-23T15:48:03+10:00",
            "format": "json",
            "fields": [
                "billing_address",
                "cancelled_at",
                "closed_at",
                "created_at",
              [...]
            ],
            "metafield_namespaces": [],
            "api_version": "2022-04",
            "private_metafield_namespaces": []
        }
    ]
}

 

 

 

 

Replies 0 (0)