open-pay / openpay-js

Openpay Javascript bindings
Apache License 2.0
24 stars 28 forks source link

No 'Access-Control-Allow-Origin' header is present on the requested resource. #23

Open Manuel-Miguez opened 3 years ago

Manuel-Miguez commented 3 years ago

A la hora de enviar la petición para crear un token el cual se utiliza para la creación de tarjetas dentro de la plataforma, esta ocurriendo ese error:

Access to XMLHttpRequest at 'https://sandbox-api.openpay.mx/v1/mguqbcge7fgum72iipws/tokens' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

image

josuehdz45 commented 2 years ago

Estoy intentando acceder al sandbox y me marca este error: Captura de Pantalla 2021-12-29 a la(s) 16 36 32