Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Webhook not working, only sending test notification works

Chris_Franklin
Shopify Partner
5 0 0

Hello,

Here is the webhook rules issue, I can get the webhook to work when you perform a "Send Test Notification", but when I do an actual order from the store it is not firing up the webhook and sending the data over to our endpoint below:

 

https://stagingenviro.info/in/DVC_a9da60282f371

Replies 12 (12)

Josh
Shopify Staff
1134 84 233

Hey Chris, 

Do you have a link to the shop where this is happening? I could check our logs here and see if there are any errors for you.

Josh | 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 the Shopify Help Center or the Shopify Blog

Chris_Franklin
Shopify Partner
5 0 0

Hi,

Do you want to see the shopify web link or the send test notification order number that is being printed?

Alex
Shopify Staff
1561 81 341

Hey Chris,

The shop web link should suffice (time frame appreciated).

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

Chris_Franklin
Shopify Partner
5 0 0

The webhook is a order creation webhook here is the url

https://stagingenviro.info/in/DVC_a9da60282f371

 

Let me know the next steps

Alex
Shopify Staff
1561 81 341

I'm seeing two POST requests this past 17 days to that URL as webhooks and both of which have been received and responded to with a 200 HTTP status. Can you provide an order id? That might help to narrow things down a bit more.

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

Chris_Franklin
Shopify Partner
5 0 0

Order # 1029 from August 22 at 10:02am is an order that is giving me an issue.

Take a look at that one.

Alex
Shopify Staff
1561 81 341

Can you actually give me the id rather than the name of the order? There's a lot of orders on the platform named #1029!

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

Chris_Franklin
Shopify Partner
5 0 0

Is this the ID? #4696096014410).

attached is a link

https://photos.app.goo.gl/6AT4pDn1f6u6YGyQ8

This is from the timeline area when I click on the order number 1029 from path https://uncord-testing.myshopify.com/admin/orders/559398649930

 

 

The id could also be this?

1ea3eddaf8f54435c666247ec7879569467fa7f9d6ef698b909e879329421e4f 

 

I dont know what the id is otherwise please advise if this id is not what you are looking for.

This is where I get the link above from. It is from the webhook section under this path 

https://uncord-testing.myshopify.com/admin/settings/notifications

__________________________________________________________________________

All your webhooks will be signed with 1ea3eddaf8f54435c666247ec7879569467fa7f9d6ef698b909e879329421e4f so you can verify their integrity.

Thanks

 

Alex
Shopify Staff
1561 81 341

Hey Chris. Thanks for that, was able to find the webhook job in question.

In our logs, I can see the orders/create webhook executing successfully without any timeouts for anything. In fact, I can see your server at https://stagingenviro.info/in/DVC_a9da60282f371 returning a 200 response.

Are you sure you didn't miss something?

Cheers.

Alex | 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 the Shopify Help Center or the Shopify Blog

ZdravaDostava
Visitor
2 0 0

I'm having exactly same problem with order/create webhook.

"Send sample data" works and it recorded in my app, on other hand, real orders do not fire the webhook.
I even tried service "request catcher" (https://dg69.requestcatcher.com/) and sample data is sent, real order does not get here.

Can you help with checking logs?
One of order IDs: 169549270234sample_data.JPG

ZdravaDostava
Visitor
2 0 0

Interesting. Added additional webhook to order/fulfilled and request catcher started getting order/created notifications. But my App still does not.

vbguru613
Tourist
3 0 1

What did you guys do to get this working? I cant even get a test notification. 

Besides setting up the url in the settings, what else needs to be done to get the webhooks working?