Shopify is sending old orders to webhook

dotamir
New Member
1 0 0

Hello.

I'm working with Shopify webhooks and using Order Creation webhook on my application. Everything looks good and nothing wrong with it.
But I see sometimes shopify is sending so many orders that haven't been created lately or after the webhook created. I see the order dates are belongs to last month or even I see an order from Aug.

Would you please help me here to know, how Shopify is dealing here? And why I'm receiving those orders?

Thanks in advance.

0 Likes
mikedasilva
Shopify Staff
Shopify Staff
32 2 2

hi @dotamir,

I can try and help you out here. Can you send over some examples of the orders that you are receiving updates for that you feel like you shouldn't? Can it be that these old orders are being updated and you are receiving order update webhooks?

Cheers,

Mike

mikedasilva | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
nick_But
Shopify Expert
3 0 0

Actually having the same problem. The webhook was just added on 23-Apr 2021 and I was receiving orders from 3rd of April.

The webhook trigger was on Order Fulfillment

What could be wrong?

0 Likes
mikedasilva
Shopify Staff
Shopify Staff
32 2 2

Hi @nick_But 

Can you send me the webhook ID that you don't think you should be receiving? We can try and figure out why there is a delay. There may have been an update on the order related to fulfillment that triggered a fulfillment (or order update) webhook to be sent.

mikedasilva | Developer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes
nick_But
Shopify Expert
3 0 0

Hi @mikedasilva ,

 

Thank you for the timely response. Going through the response just now, I found out that the property being referenced as the order_number isn't the order number being displayed on the Shopify backend.

Screenshot 2021-04-27 at 09.42.40.png

The name property was showing on the Shopify backend as the Order numbers.

 

Regards

Nick

0 Likes