This article also covers
We are using Chargebee built-in checkout and found an error related to origin-access control blocked. How to resolve this error?
We are consistently seeing an 'Access-Control-Allow-Origin' error when we load the Chargebee JS API
I am facing issues with CORS setup
If you observe the ‘Access-Control-Allow-Origin' error in your browser console it could be due to 2 reasons. A client-side error related to CORS or a server-side error as a result of the headers.
Note: These errors are harmless and will not affect your billing/checkout flow in any way.
Full access API key(s) leads to a CORS error. You can use the publishable keys to resolve this issue. Here's more on the different types of API keys in Chargebee.
Refer to this document on CORS repositories to get more insights on the error that you are facing.
Contact support. We control response headers and we could help you resolve this issue.