You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used, the check but I'm not quite understanding how to implement the redirect if the subscription check Is false
I tried this which didn't seem to work:
if (!subscription) {
redirect(`https://admin.shopify.com/store/{store_handle}/charges/{app_handle}/pricing_plans`);
}
then I read somewhere to add _parent which I did but for some reason "200" appears on the app on install, then when I refresh the page it works as intended 🤷
if (!subscription) {
redirect(`https://admin.shopify.com/store/{store_handle}/charges/{app_handle}/pricing_plans`, target: '_parent');
}
This may be occurring because I'm using shopify-app-remix v2 so I tried to upgrade to shopify-app-remix v3, but that turned out to be a bit more challenging than I was expecting.
Hi, I don't seem to understand how to use the managed pricing feature along with this template
source: https://shopify.dev/docs/apps/launch/billing/managed-pricing
The text was updated successfully, but these errors were encountered: