Hi, I have build the shopify app. And I would like to add app billing api function into my app. I have used Shopify CLI to generate starter code to build my app. And I check the starter code on folder server/handler/mutations/get-one-time-url.js. there is graphQL mutation code to create charge. But why I open my store, there is no billing conformation page. I have seen this document https://shopify.dev/apps/billing#best-practices-for-app-billing , but this one only mentioned how to add graphQL mutation create charge code. I would like to know how to add app billing function into app and open the billing conformation page?
Topic summary
Developer building a Shopify app with the Shopify CLI starter seeks to add app billing (one‑time charge) and display the Shopify billing confirmation page. The starter includes a GraphQL mutation in server/handler/mutations/get-one-time-url.js to create a charge, but visiting the store does not show the billing confirmation page.
They reviewed Shopify’s billing best practices documentation, which explains creating a charge via GraphQL, but they are unclear how to integrate this into the app’s flow so the merchant is redirected to the confirmation page.
They request guidance on implementing billing in the starter app, including how to trigger/redirect to the confirmation URL.
An attached screenshot appears to illustrate the absence of the billing confirmation prompt.
No responses or resolution yet; the question is open.
