Thank you for the response. I was able to get this working properly. For anyone interested I used something similar to the following before the header of the page was included.
$my_cors_url = "https://example.com";
function my_cors_header($known_headers) {
global $my_cors_url;
header("Access-Control-Allow-Origin: $my_cors_url");
return $known_headers;
}
add_filter('wpsc_known_headers', 'my_cors_header');
-
This reply was modified 7 years, 6 months ago by MarcusSea.