Redirection issue before app installation is completed

61 0 2

Hello there,

We are developing an app. While installing app, firstly it will ask for grant permissions, billing( approve charges ) and then will redirect to our app page.

During installation, even if we cancel the charges at step 2, in Apps section we can see the app listed and on clicking it we are expecting it to redirect to billing page but its refusing to redirect and we can see the calls to oauth and billing in Network tab.

If we open those urls in browser, its coming correctly.

Why its refusing to redirect to oauth/billing once we click the app in Apps section.


Any help would be appreciated.

Shopify Staff (Retired)
Shopify Staff (Retired)
624 102 129

Hey @user072319 ,


Are you still seeing this issue?
If you are, can you open the Chrome Developer Tool on your embedded app and look at the “Console” tab when you are expecting the app to redirect to the billing page? Can you confirm if the error of "Refused to display 'THE_URL' in a frame because it set 'X-Frame-Options' to 'deny’.” is present in your console? If so you can try turning off the option of “X-Frame-Options DENY” in your web server - as per these instructions:
The other thing to try is if your app is built using the Ruby shopify_app gem, using the function of “fullpage_redirect_to” to redirect your app to the charge confirmation page instead of just using “redirect_to”. You can read more about it here:

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution