Open jkeys089 opened 5 months ago
i got the same error @jkeys089 did you solved this?
@eyyazubi we resolved it by using a non-local domain + TLS cert. In our case ngrok was the easiest method since we're already using it to test other services that require non-local domains over HTTPS (e.g. federated auth). However, depending on your dev env there are several other non-commercial options available.
When running the example we’re getting the following CORS error in the browser:
The issue occurs during the
paypal.Googlepay().config()
call and prevents the button from loading.I verified via curl that there is no Access-Control-Allow-Origin header on this endpoint:
Is there maybe something I'm missing or is it possible the endpoint is not working properly?