Closed julien-mamalian closed 3 months ago
Same issue here. Stopped working (returns undefined
) out of nowhere, without changing anything else. CC @jamesvidler @henrytao-me
Might be related: https://github.com/Shopify/ui-extensions/issues/1378
Same here
Same thing happened to me. It worked perfectly until Friday 7 June, now I get no value for useShippingAddress. Interestingly useBillingAddress has the same issue - returns undefined, but useEmail() returns the proper value as expected. Furthermore if you have extensions on the 3-page checkout that utilise the shipping address API, they all work as normal but once you hit the thank you page they report errors stating no address can be found. It seems to be an issue rooted on the Thank You page.
Same here. Did anyone find a remediation?
And did anyone here escalate to Shopify already?
Thank you for reporting this issue. We have reproduced it and are investigating.
Any news or ETA on a fix to communicate? This completely broke our app @jamesvidler
@jamesvidler Is there a place where you communicate updates? I would assume the Shopify status page but it's all green 😬
This issue has just been resolved. Can you please verify the shippingAddress
is now returning the expected value?
Works perfectly, thanks for the fix @jamesvidler 👏
@jamesvidler also confirms, it now works!
Works fine, thank you for the quick fix! 🙌🏻
Hey there it seems like we're still hitting the issue on the TYP for Shop Pay orders. These orders seem to not have the shipping address field. Is that expected @jamesvidler?
I'm seeing this issue in 2024.7.X where the shipping address is undefined in TYP but not in OSP
Please list the package(s) involved in the issue, and include the version you are using
"@shopify/ui-extensions": "2024.4.x", "@shopify/ui-extensions-react": "2024.4.x", "react": "^18.0.0",
Describe the bug
useShippingAddress(); in the "purchase.thank-you.block.render" extension target stopped working. It was working both on the live extension and locally but stopped working yesterday. shippingAddress returns undefined as well. I did not change anything and I have access to customer data.
Expected behavior
useShippingAddress should return the order shipping address