Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am building an embedded Shopify application and working on Subscription flow to implement.
As part of this flow, after selection of plan, user will be redirected to a Approval screen, where user can add payment method and approve the subscription. It is hosted and managed by Shopify itself.
As an embedded application, I have to add that page to load inside my Iframe to give user a consistent behaviour. But somehow I am getting CORS error and not able to load that approval page inside shopify admin dashboard iframe.
Here I have attached the log for the error which I saw in browser console.
I am not able to load this URL https://store-count1.myshopify.com/admin/charges/<chargeid>/<some id>/RecurringApplicationCharge/con... in to my embedded screen.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://store-count1.myshopify.com/admin/charges/<charge id>/RecurringApplicationCharge/confirm_recu...<signature>. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 404.
@altruist2692 I am also facing the same issue, are you able to fix this issue ? Can you share work around how you fix this?
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024