Dear Seniors
We have created our custom page for checkout, we call cart API to fetch cart data, and then we try to hit create order API, but unfortunately, a CORS policy error occurs, We have already tried to add a header, but nothing works.
But there is a very strange thing if we hit the same create order API from the local host, it works fine, and the order is placed successfully.