Hi,
I’m developing a shopify app and I’m planning on creating an annual subscription plan in app , i follwed this doc https://shopify.dev/tutorials/create-an-annual-subscription#create-an-annual-subscription . but when i tried to redirect to the confirmation url my app crashes. with an error Refused to display ‘https://{mydomain}/’ in a frame because it set ‘X-Frame-Options’ to ‘deny’. I’m using Laravel to develop the app
on controller function
$redirect_url=urldecode($result[‘body’][‘container’][‘data’][‘appSubscriptionCreate’][‘confirmationUrl’]);
return redirect()->away($redirect_url);
these are the lines that i use to redirect to the confirmationUrl.
can anyone explain what is wrong here
Thanks!