Webhooks need approval in test shop?

Webhooks need approval in test shop?

TigerDesign
Shopify Partner
2 0 0

Hey, I am developing a Shopify App right now, and I need to implement and test some webhooks (well, many webhooks 🙂 I started with "checkouts/create" and it requires "read_orders" scope. I put it into shopify.app.toml and issued a command "shopify app deploy" (I use Shopify CLI for development). And it says "This app is not approved to subscribe to webhook topics containing protected customer data. See blah-blah-blah for details."

 

So, my question is: do I really need to receive approvement from Shopify for an application still in test and development, or I have missed some option/config like "test-mode=true" or something? Or what is the right way to implement webhook handling in the application not yet in production?

 

Please, advise. Thank you!

Replies 2 (2)

TigerDesign
Shopify Partner
2 0 0

Found the solution, thank you 🙂

For all those who have the same question:

1) Go to partners.shopify.com, your application

2) Left menu - select "API Access"

3) Press a button in "Access requests / Protected customer data access" section

4) Press "Select" in "Select your data use and reasons" and check what is required for your app.

 

Save and now you can deploy your app!

oscprofessional
Shopify Partner
16343 2438 3177

Yes, you need to give necessary permissions on the app admin as well for protected customer data.

 

Also add webhooks topics on shopify.app.toml file and run command "shopify app deploy".
Share your shopify.app.toml file here.
Endpoint:- https://appurl/checkouts/create

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...