Cross-Origin Request Blocked: | WordPress.org

[ad_1]

When I go to the checkout page, the section for PayPal is greyed out and the loading animation goes on forever.

I looked at the console, and I see this:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . (Reason: CORS request did not succeed). Status code: (null).

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at . (Reason: CORS request did not succeed). Status code: (null).

I tried adding to my htaccess but it made no difference:

<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>

Any ideas?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer