CORS ERROR ON SHOPIFY PRIVATE APP

Job ID: 32519498

Budget: ₹600 – ₹1,500 INR

Hello Everyone,



My store is running a private app - and is now throwing up a CORS error.



We have tried to troubleshoot and have found that we need to add the Acess-Control-Allow-Origin in the header. However, when we add the dataType: jsonp then the CORS error will solve but response data is blank. If we directly run the URL of config.php on browser it returns the data.


Any suggestions?
Related categories: PHP JavaScript Shopify Development