My app offers a 15-day trial before charging. Merchants go through a flow of authorizing the app, confirming the charge in x days, and then accessing the app.
However - many merchants think it’s a bug that they have to confirm their subscription each time they login to use the app.
Following the NODE + React tutorial on Shopify I have a subscription url that I send users to after authorizing. I can easily write custom logic to conditionally redirect them there if no previous charge ids were found but this leads to unexpected behavior.
Once I enable charges for a merchant account I can no longer access the app without forcing the user to agree to the app terms again. It shows me a Safari cookie error and internally does a few self-redirects if I do not redirect existing app merchants to the subscription url.
Example: https://gyazo.com/43babcd00c93260a779d5e1b121fb86c
I rebuilt this app for testing but instead of sending users to the subscription url I just do a simple ctx.redirect(‘/’). Once charges are enabled the app fails to authorize any login.
Is this expected behavior for Shopify? Can I redirect users to my app without confirming charges or the amount of trial days each time?
Any insight would be rad! =)