Development discussions around Shopify APIs
Anyone else notice that the Order Hook API payload changed this morning?
I'm noticing that the IP address of the customer is no longer being included in the payload like it was yesterday and before...
Hey Jay,
I am only able to return `browser_ip: null` in webhooks for orders created as drafts. Orders created via online store are propagating this field for me just fine. Is there anything specific about your setup in how orders are created? And to be clear, are you talking about orders/create webhooks or another topic?
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
Thanks for the quick response Alex!
I think I see where the issue is coming from. It only happens for Stripe transactions, not Shopify Payments. Stripe used to populate the notes with the customer's IP but they've stopped doing that for some reason as of this morning. Maybe they updated their implementation (or someone at Shopify did?). They don't populate the browser_ip field unfortunately.
Anything you can do to look into why the Stripe implementation is not sending IPs?
Also, with respect to your question, yes we're talking about the same thing (orders/create webhooks).
PS: Dissapointed to see that catzilla.myshopify.com is not a real store lol. I recently bought a "cat zilla" graphic shirt from amazon and got excited when I thought there would be a store full of such absurd things haha.
OK just to update anyone who may hit this thread again via Google or whatever, I've identified the issue.
It had to do with the CartHook Checkout app. Any order events being pushed in from that app are not passing along browser and client IP details as of 3 days ago. I think they're also not linking the customer to the order properly.
I'm going to try to get in touch with them so I can fix their issue.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023