Solved

Order webhook sometimes firing, sometimes not...

ronald-vonk
Tourist
4 1 0

Hi there,

If have a webhook issue on orders that are being updated. Normally when I change something like the note, I get a direct response from the webhook service, but now I have several of my orders not triggering the webhook service, while others do. There does not seem to be a common thing in the firing/non-firing orders. Does anyone recognize this problem? And what did you do about it? 🙂

Help would be great!

Ronald Vonk, the Netherlands

Accepted Solution (1)
ronald-vonk
Tourist
4 1 0

This is an accepted solution.

Hi @mikedasilva,

Thanks for your response (await response :-p), you helped me in the right direction!

I was responding allright with statuscode 200, but my request handling was kind of flawed, so I was just lucky it sometimes passed ;-).
This way it is working allright (maybe other users may find this helpful):

ronald-vonk_0-1611131554971.png

Best regards, Ronald

View solution in original post

Replies 5 (5)

mikedasilva
Shopify Staff (Retired)
61 7 12

Hi @ronald-vonk 

Would you be able to provide a little more information on what you are experiencing? It sounds like you're referring to the orders/updated webhooks, is that correct? You can DM me your shop where you are seeing these not getting fired and I can try to look into them.

Cheers

 

To learn more visit the Shopify Help Center or the Community Blog.

ronald-vonk
Tourist
4 1 0

Hi @mikedasilva 

Thanks for your quick response :-).
And you're right: I was referring to the orders/updated webhook.

 

Some orders that are not responding on updates:

https://binthouttest.myshopify.com/admin/orders/2812155920480

https://binthouttest.myshopify.com/admin/orders/2754407891040

https://binthouttest.myshopify.com/admin/orders/2754327511136

 

These orders however are responding like expected:

https://binthouttest.myshopify.com/admin/orders/2854535200864

https://binthouttest.myshopify.com/admin/orders/2821675221088

https://binthouttest.myshopify.com/admin/orders/2790052560992 (this one has status 'archived' like above three, but is still 'updatable'!

 

Thank in advance!

Ronald

 

 

 

ronald-vonk
Tourist
4 1 0

Any updates on this @mikedasilva?

Would be appreciated!

mikedasilva
Shopify Staff (Retired)
61 7 12

Hi @ronald-vonk  - I took a quick look and I see that there are webhooks being fired and successfully received for some that you said were not. How are you determining that you are not receiving them? I can provide some IDs for them if that will help you with tracking them down in logs on your side.

 

Cheers

To learn more visit the Shopify Help Center or the Community Blog.

ronald-vonk
Tourist
4 1 0

This is an accepted solution.

Hi @mikedasilva,

Thanks for your response (await response :-p), you helped me in the right direction!

I was responding allright with statuscode 200, but my request handling was kind of flawed, so I was just lucky it sometimes passed ;-).
This way it is working allright (maybe other users may find this helpful):

ronald-vonk_0-1611131554971.png

Best regards, Ronald