Skip to content

Commit

Permalink
fix: remove card switch
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiano-mallmann committed Jan 5, 2024
1 parent 2220b36 commit b596b4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion view/frontend/web/js/core/checkout/Tds.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ define([
jQuery(cardForm.containerSelector).attr("data-pagarmecheckout-form", "")
cardForm.creditCardHolderName.attr("data-pagarmecheckout-element", "holder_name")
cardForm.creditCardNumber.attr("data-pagarmecheckout-element", "number")
cardForm.creditCardNumber.val("9001100811111111") // @todo: remover na versão final
cardForm.creditCardBrand.attr("data-pagarmecheckout-element", "brand")
cardForm.creditCardExpMonth.attr("data-pagarmecheckout-element", "exp_month")
cardForm.creditCardExpYear.attr("data-pagarmecheckout-element", "exp_year")
Expand Down
1 change: 0 additions & 1 deletion view/frontend/web/js/core/models/CreditCardModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ define([
}

this.formObject.authentication = JSON.stringify(data);
this.formObject.creditCardNumber.val("4000000000000010"); // @todo: remover na versão final
this.getCreditCardToken(
function (data) {
_self.formObject.creditCardToken.val(data.id);
Expand Down

0 comments on commit b596b4b

Please sign in to comment.