Close

Access-Control-Allow-Origin error

bilican121
6 years ago
#14228 Quote
Avatar
  • 3
Hi;

We use multi-store nopcommerce (two .com and one .co.uk site).
We getting Access-Control-Allow-Origin error your trial Nop One Page Checkout plugin on only .co.uk site.

The full error message that i seen chrome console "Failed to load https://www.mysite.co.uk/RealOnePageCheckout/GetCheckoutData:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mysite.co.uk' is therefore not allowed access."

We try different browsers and computers but the problem continue.

Could you please help us?



SDobrev
6 years ago
#14231 Quote
Avatar
  • 283
Hi,

Could you please submit a ticket with URLs to your stores so we can further investigate this issue?

Thank you!
Best Regards,
Stoyan Dobrev
Nop-Templates.com
bilican121
6 years ago
#14243 Quote
Avatar
  • 3
Hi,

I set "WWW prefix requirement" setting on General settings and the problem solved.
Thanks a lot nop-templates team.