I am creating a website that allows you to buy through MercadoPago in NodeJS. Locally and in testing, it works without problems. Now in production, sometimes ( ONLY sometimes ), it pulls invalid_token .
As it is on the server side, I use the following line to instantiate MP:
var mercadoPagoClient = new MP (config.mercadoPagoApp.clientId, config.mercadoPagoApp.clientSecret);
Has anyone happened to him ?. The clientId and clientSecret do not change, so I do not understand what is happening.
I just updated the version of the mercadopago library to 1.0.13 just in case.