checkout-payment-sample icon indicating copy to clipboard operation
checkout-payment-sample copied to clipboard

Uncaught Error: MercadoPago.js could not be loaded

Open RecoX opened this issue 2 years ago • 1 comments

No puedo usar el sitio de demo, no puede cargar el js

Uncaught Error: MercadoPago.js could not be loaded value https://sdk.mercadopago.com/js/v2:1 https://sdk.mercadopago.com/js/v2:1 file:///C:/Users/daleboca/Desktop/checkout-payment-sample/client/js/index.js:3

RecoX avatar May 16 '22 09:05 RecoX

Did you check the console? I had the same issue and it was related to some placeholders you have to change on the top of the client/js/index.js file, which had public key and locale to some invalid values. After changing them everything worked fine.

C0t300 avatar Aug 18 '22 15:08 C0t300