Skip to content

Commit

Permalink
installments
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseHCalderon authored May 7, 2024
1 parent a0c23ab commit f6d097d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/templates/front/payment_execution_payme.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
$(document).ajaxComplete(function () {
});

var installments = (Culqi.token.metadata.installments == undefined) ? 0 : Culqi.token.metadata.installments;
var installments = (Culqi.token.metadata == undefined || Culqi.token.metadata.installments == undefined) ? 0 : Culqi.token.metadata.installments;

$.ajax({
url: fnReplace("{/literal}{$link->getModuleLink('culqi', 'chargeajax', [], true)|escape:'htmlall':'UTF-8'}{literal}"),
Expand Down Expand Up @@ -456,7 +456,7 @@
$(document).ajaxComplete(function () {
});

var installments = (Culqi.token.metadata.installments == undefined) ? 0 : Culqi.token.metadata.installments;
var installments = (Culqi.token.metadata == undefined || Culqi.token.metadata.installments == undefined) ? 0 : Culqi.token.metadata.installments;
$.ajax({
url: fnReplace("{/literal}{$link->getModuleLink('culqi', 'chargeajax', [], true)|escape:'htmlall':'UTF-8'}{literal}"),
data: {
Expand Down

0 comments on commit f6d097d

Please sign in to comment.