Shopify checkout ui extension unable to get zip code from useShippingAddress method

Hi,

I’m not able to get the shipping address from the useShippingAddress method. im able to get the country and city but all the other values of the object is undefined.

Thanks.

Hi Cyrilanthony7,

Just to confirm, the app in question does have level 2 access to protected customer data?

yes it has level 2 permissions and im able to read logged in customer’s details

Is this happening for all orders or one in particular?

it is anchored to

Checkout::ShippingMethods::RenderAfter. It is happening for all the checkouts.

Created a new app and extension and it solved the problem.

Great to hear this worked Cyrilanthony7!