Skip to content

Commit

Permalink
Merge pull request #44 from RocketBus/feature/AR-97-token-logs
Browse files Browse the repository at this point in the history
#R-97 - Logs para a geração de tokend do frontend
  • Loading branch information
RobbyAmaral authored May 6, 2021
2 parents ca7cec7 + f3a678e commit a621423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clickbus-payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ MercadoPago.prototype.createToken = function(form, clickPromise, options, public
logger(response);

if (status != 201 && status != 200) {
console.error('error generating mercadoPago token', response);
this.reset();
clickPromise.finish(status, response);
return;
Expand Down

0 comments on commit a621423

Please sign in to comment.