I have a Shopify app that uses Shopify Managed Pricing so all payment and user plans are handled through Shopify.
In my app, I have an “Upgrade Plan” button. When a user clicks the button, it redirects them to: "https://admin.shopify.com/store/{store-name}/charges/{app_handle}/pricing_plans
" The issue occurs when the user has another Shopify store/account logged into their browser. Instead of redirecting them to the intended pricing plans page for the correct store, Shopify throws an error due to the session mismatch.
Because of this issue, my app is failing the Shopify review process. I need an alternative approach to ensure the user is always redirected to the correct store’s pricing plans page without encountering session-related errors.
Is there any recommended solution or workaround for this?