Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Shopify checkout extension unable to get zip code from useShippingAddress method

Shopify checkout extension unable to get zip code from useShippingAddress method

Boski_Mehta1
Shopify Partner
3 0 0

Hi,

I'm not able to get the Zip code from the useShippingAddress method. I gives undefined for Zip code.
Check the  screenshot https://imgur.com/iuVVRq0

Reply 1 (1)

Liam
Community Manager
3108 344 910

Does your app have level 2 access to protected customer data?

Liam | Developer Advocate @ 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