What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Protected customer data for checkout ui extension development

Protected customer data for checkout ui extension development

architrathi
Shopify Partner
2 0 0

I am building a checkout ui extension. I need to use "useShippingAddress()" in my code. Since the customer data is protected, I completed the "Protected customer data access" request till step 1. 

It specifically mentions that 'If you’re installing on a development store, select your data use in step 1 to access protected customer data.' I also installed the app on a development store. However, I still cannot access the shipping address for my checkout UI extension.

I get the following error : "[ERROR] No matching export in "node_modules/@shopify/ui-extensions/build/esm/surfaces/checkout.mjs" for import "useShippingAddress""

What am I missing here? Does the approval for the protected customer data request takes some time for approval? Or do devs not get access to shipping addresses while developing checkout UI extensions?

Replies 0 (0)