Question about testing GDPR webhooks and billing in shopify app

Hey guys, I am currently preparing to launch my app for the first time and just have a few questions:

  1. I have created the mandatory GDPR endpoints to all return status code 200 (My app does not collect any store/user data). I have triggered it manually with the shopify app webhook trigger command leading to bottom screenshot saying that the Webhook has been enqueued for delivery. Just wondering what is the next step to test if these GDPR webhooks are working as intended? Note, I haven’t deployed my app yet so still using Shopify’s cloudflare generated URL.

    1. My app will either have a monthly or yearly subscription charge. Is this something I can set in my Partner Dashboard or do I have to manually call the appSubscriptionCreate mutation within the app when a merchant installs it? (Link: https://shopify.dev/docs/api/admin-graphql/2024-01/mutations/appSubscriptionCreate)

  1. Sit back and wait :wink: - yeah 200 response is fine.

  2. I would set it explicitly …

https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/appSubscriptionCreate

There are 2 options anyway which seem to fit your case

https://shopify.dev/docs/api/admin-graphql/2024-07/enums/AppPricingInterval