We fixed the billing flow that showed "Application Error" after reinstall when a plan was selected.
Root cause: the app uses Shopify App Pricing (managed pricing), but the plan button still called the Billing API (appSubscriptionCreate), which Shopify rejects for managed-pricing apps.
Fix: plan selection and "Manage plan" now redirect to Shopify's hosted plan selection page (admin.shopify.com/store/{shop}/charges/alaz-cod/pricing_plans). The app no longer creates charges itself; it reads the shop's active subscription (currentAppInstallation.activeSubscriptions) and shows the plan from our listing, "Standart" ($9.99 / 30 days, 7-day free trial). The old hardcoded plan list was removed, so in-app pricing matches the App Store listing. Development stores are handled as test charges.
Verified on Nov 16, 2026 on a development store with the production app: install, open the plan page, open Shopify's hosted plan page, approve, return to the app, and the active plan shows correctly.
Tested on Nov 16, 2026 on development store alaz-cod.myshopify.com with the production app. No real charge was made.
The app reads the shop's active subscription and shows "Standart" ($9.99 / 30 days, 7-day free trial), matching the plan in our App Store listing.