Hi, I’m new on shopify and working on an app, I am testing some shopify features and APIs to include these in my app. I’m testing APp proxy feature but it is not working on development store. I want to confirm that I’m setting it correctly.
This is how I set it.
Shopify Partner:
Sub path prefix: apps
Subpath: proxy
Proxy URL: https://abc.com/shopify_app_testing/my_proxy.php
Development Store:
I have embedded iframe using js in cart template file like
var target_html = '<iframe id="custome-app-iframe" src="//' + base_urlc + '/apps/proxy?shop=' + Shopify.shop + '" frameborder="0" scrolling="no" style="display:block;" width="100%" />';
$('#custome-app-iframe').html(target_html);
When I visit cart page, the following text displays
“Blocked by Content Security Policy”
instead of my proxy URL’s contents.
Am I setting APP Proxy correctly?
Thanks