diff --git a/i18n/en_US.csv b/i18n/en_US.csv
index 1901295..8cb6692 100644
--- a/i18n/en_US.csv
+++ b/i18n/en_US.csv
@@ -452,4 +452,4 @@ Webpay,Webpay
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases."
"An error has occurred. Please refresh the page and try again.", "An error has occurred. Please refresh the page and try again."
"We are receiving the reply from your bank", "We are receiving the reply from your bank"
-"An error occured."
+"An error occured."
\ No newline at end of file
diff --git a/i18n/es_AR.csv b/i18n/es_AR.csv
index 5006a18..10a96f4 100644
--- a/i18n/es_AR.csv
+++ b/i18n/es_AR.csv
@@ -406,7 +406,7 @@ Webpay,Webpay
"For safety reasons, the card issuing bank declined the payment. We recommend paying with your usual payment method and device for online purchases.","Por seguridad, el banco emisor de la tarjeta rechazó el pago. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
----------By Bank / Bank Error / Other Reason / Bank Rejected------------------
"The bank declined your payment with the first card. We recommend paying with another card or contacting the bank. Do not worry, no fee was charged on the second payment method.","El banco rechazó tu pago con la primera tarjeta. Te recomendamos pagar con otra tarjeta o comunicarte con tu banco. No te preocupes, no cobramos ningún cargo en el segundo medio de pago."
-"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
+"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
medio de pago, no te preocupes, será devuelto automáticamente."
"The card issuing bank declined your payment. We recommend paying with another payment method or contacting your bank.","El banco emisor de la tarjeta rechazó tu pago. Te recomendamos pagar con otro medio de pago o comunicarte con tu banco."
---------Call For Authorize----------------
@@ -453,3 +453,4 @@ medio de pago, no te preocupes, será devuelto automáticamente."
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","Por motivos de seguridad, tu pago fue rechazado. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
"An error has occurred. Please refresh the page and try again.", "Se ha producido un error. Actualice la página y vuelva a intentarlo."
"We are receiving the reply from your bank", "Estamos recibiendo la respuesta de su banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, por favor dirígete a cualquier lotérica o ""Correspondente Caixa"". Necesitarás el siguiente código y el número de documento de identificación utilizado en la compra."
\ No newline at end of file
diff --git a/i18n/es_CL.csv b/i18n/es_CL.csv
index 0965f0b..2e62a09 100644
--- a/i18n/es_CL.csv
+++ b/i18n/es_CL.csv
@@ -406,7 +406,7 @@ Webpay,Webpay
"For safety reasons, the card issuing bank declined the payment. We recommend paying with your usual payment method and device for online purchases.","Por seguridad, el banco emisor de la tarjeta rechazó el pago. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
----------By Bank / Bank Error / Other Reason / Bank Rejected------------------
"The bank declined your payment with the first card. We recommend paying with another card or contacting the bank. Do not worry, no fee was charged on the second payment method.","El banco rechazó tu pago con la primera tarjeta. Te recomendamos pagar con otra tarjeta o comunicarte con tu banco. No te preocupes, no cobramos ningún cargo en el segundo medio de pago."
-"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
+"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
medio de pago, no te preocupes, será devuelto automáticamente."
"The card issuing bank declined your payment. We recommend paying with another payment method or contacting your bank.","El banco emisor de la tarjeta rechazó tu pago. Te recomendamos pagar con otro medio de pago o comunicarte con tu banco."
---------Call For Authorize----------------
@@ -453,3 +453,4 @@ medio de pago, no te preocupes, será devuelto automáticamente."
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","Por motivos de seguridad, tu pago fue rechazado. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
"An error has occurred. Please refresh the page and try again.", "Se ha producido un error. Actualice la página y vuelva a intentarlo."
"We are receiving the reply from your bank", "Estamos recibiendo la respuesta de su banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, por favor dirígete a cualquier lotérica o ""Correspondente Caixa"". Necesitarás el siguiente código y el número de documento de identificación utilizado en la compra."
\ No newline at end of file
diff --git a/i18n/es_CO.csv b/i18n/es_CO.csv
index 0965f0b..2e62a09 100644
--- a/i18n/es_CO.csv
+++ b/i18n/es_CO.csv
@@ -406,7 +406,7 @@ Webpay,Webpay
"For safety reasons, the card issuing bank declined the payment. We recommend paying with your usual payment method and device for online purchases.","Por seguridad, el banco emisor de la tarjeta rechazó el pago. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
----------By Bank / Bank Error / Other Reason / Bank Rejected------------------
"The bank declined your payment with the first card. We recommend paying with another card or contacting the bank. Do not worry, no fee was charged on the second payment method.","El banco rechazó tu pago con la primera tarjeta. Te recomendamos pagar con otra tarjeta o comunicarte con tu banco. No te preocupes, no cobramos ningún cargo en el segundo medio de pago."
-"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
+"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
medio de pago, no te preocupes, será devuelto automáticamente."
"The card issuing bank declined your payment. We recommend paying with another payment method or contacting your bank.","El banco emisor de la tarjeta rechazó tu pago. Te recomendamos pagar con otro medio de pago o comunicarte con tu banco."
---------Call For Authorize----------------
@@ -453,3 +453,4 @@ medio de pago, no te preocupes, será devuelto automáticamente."
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","Por motivos de seguridad, tu pago fue rechazado. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
"An error has occurred. Please refresh the page and try again.", "Se ha producido un error. Actualice la página y vuelva a intentarlo."
"We are receiving the reply from your bank", "Estamos recibiendo la respuesta de su banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, por favor dirígete a cualquier lotérica o ""Correspondente Caixa"". Necesitarás el siguiente código y el número de documento de identificación utilizado en la compra."
\ No newline at end of file
diff --git a/i18n/es_MX.csv b/i18n/es_MX.csv
index 4ef2fea..3d5c5fb 100644
--- a/i18n/es_MX.csv
+++ b/i18n/es_MX.csv
@@ -406,7 +406,7 @@ Webpay,Webpay
"For safety reasons, the card issuing bank declined the payment. We recommend paying with your usual payment method and device for online purchases.","Por seguridad, el banco emisor de la tarjeta rechazó el pago. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
----------By Bank / Bank Error / Other Reason / Bank Rejected------------------
"The bank declined your payment with the first card. We recommend paying with another card or contacting the bank. Do not worry, no fee was charged on the second payment method.","El banco rechazó tu pago con la primera tarjeta. Te recomendamos pagar con otra tarjeta o comunicarte con tu banco. No te preocupes, no cobramos ningún cargo en el segundo medio de pago."
-"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
+"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
medio de pago, no te preocupes, será devuelto automáticamente."
"The card issuing bank declined your payment. We recommend paying with another payment method or contacting your bank.","El banco emisor de la tarjeta rechazó tu pago. Te recomendamos pagar con otro medio de pago o comunicarte con tu banco."
---------Call For Authorize----------------
@@ -453,3 +453,4 @@ medio de pago, no te preocupes, será devuelto automáticamente."
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","Por motivos de seguridad, tu pago fue rechazado. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
"An error has occurred. Please refresh the page and try again.", "Se ha producido un error. Actualice la página y vuelva a intentarlo."
"We are receiving the reply from your bank", "Estamos recibiendo la respuesta de su banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, por favor dirígete a cualquier lotérica o ""Correspondente Caixa"". Necesitarás el siguiente código y el número de documento de identificación utilizado en la compra."
\ No newline at end of file
diff --git a/i18n/es_PE.csv b/i18n/es_PE.csv
index 0965f0b..2e62a09 100644
--- a/i18n/es_PE.csv
+++ b/i18n/es_PE.csv
@@ -406,7 +406,7 @@ Webpay,Webpay
"For safety reasons, the card issuing bank declined the payment. We recommend paying with your usual payment method and device for online purchases.","Por seguridad, el banco emisor de la tarjeta rechazó el pago. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
----------By Bank / Bank Error / Other Reason / Bank Rejected------------------
"The bank declined your payment with the first card. We recommend paying with another card or contacting the bank. Do not worry, no fee was charged on the second payment method.","El banco rechazó tu pago con la primera tarjeta. Te recomendamos pagar con otra tarjeta o comunicarte con tu banco. No te preocupes, no cobramos ningún cargo en el segundo medio de pago."
-"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
+"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
medio de pago, no te preocupes, será devuelto automáticamente."
"The card issuing bank declined your payment. We recommend paying with another payment method or contacting your bank.","El banco emisor de la tarjeta rechazó tu pago. Te recomendamos pagar con otro medio de pago o comunicarte con tu banco."
---------Call For Authorize----------------
@@ -453,3 +453,4 @@ medio de pago, no te preocupes, será devuelto automáticamente."
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","Por motivos de seguridad, tu pago fue rechazado. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
"An error has occurred. Please refresh the page and try again.", "Se ha producido un error. Actualice la página y vuelva a intentarlo."
"We are receiving the reply from your bank", "Estamos recibiendo la respuesta de su banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, por favor dirígete a cualquier lotérica o ""Correspondente Caixa"". Necesitarás el siguiente código y el número de documento de identificación utilizado en la compra."
\ No newline at end of file
diff --git a/i18n/es_UY.csv b/i18n/es_UY.csv
index 0965f0b..2e62a09 100644
--- a/i18n/es_UY.csv
+++ b/i18n/es_UY.csv
@@ -406,7 +406,7 @@ Webpay,Webpay
"For safety reasons, the card issuing bank declined the payment. We recommend paying with your usual payment method and device for online purchases.","Por seguridad, el banco emisor de la tarjeta rechazó el pago. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
----------By Bank / Bank Error / Other Reason / Bank Rejected------------------
"The bank declined your payment with the first card. We recommend paying with another card or contacting the bank. Do not worry, no fee was charged on the second payment method.","El banco rechazó tu pago con la primera tarjeta. Te recomendamos pagar con otra tarjeta o comunicarte con tu banco. No te preocupes, no cobramos ningún cargo en el segundo medio de pago."
-"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
+"The bank declined the payment with the second card due to security reasons. We recommend paying with your usual payment method and device for online purchases. Do not worry if any fees were charged on the first payment method, they will be refunded automatically.","Por seguridad, el banco rechazó el pago con la segunda tarjeta. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online. Si llegas a encontrar un cargo en el primer
medio de pago, no te preocupes, será devuelto automáticamente."
"The card issuing bank declined your payment. We recommend paying with another payment method or contacting your bank.","El banco emisor de la tarjeta rechazó tu pago. Te recomendamos pagar con otro medio de pago o comunicarte con tu banco."
---------Call For Authorize----------------
@@ -453,3 +453,4 @@ medio de pago, no te preocupes, será devuelto automáticamente."
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.","Por motivos de seguridad, tu pago fue rechazado. Te recomendamos pagar con el medio de pago y dispositivo que sueles usar para compras online."
"An error has occurred. Please refresh the page and try again.", "Se ha producido un error. Actualice la página y vuelva a intentarlo."
"We are receiving the reply from your bank", "Estamos recibiendo la respuesta de su banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, por favor dirígete a cualquier lotérica o ""Correspondente Caixa"". Necesitarás el siguiente código y el número de documento de identificación utilizado en la compra."
\ No newline at end of file
diff --git a/i18n/pt_BR.csv b/i18n/pt_BR.csv
index f48b25c..8b3a361 100644
--- a/i18n/pt_BR.csv
+++ b/i18n/pt_BR.csv
@@ -452,3 +452,4 @@ Webpay,Webpay
"For safety reasons, your payment was declined. We recommend paying with your usual payment method and device for online purchases.", "Por motivos de segurança, seu pagamento foi recusado. Recomendamos que você pague com o meio de pagamento e dispositivo que costuma usar para compras on-line."
"An error has occurred. Please refresh the page and try again.", "Ocorreu um erro. Por favor, atualize a página e tente novamente."
"We are receiving the reply from your bank", "Estamos recebendo a resposta do seu banco"
+"To pay, please go to any lotérica or ""Correspondente Caixa"" branch. You will need the following code and the ID number used in the purchase.","Para pagar, dirija-se a qualquer lotérica ou Correspondente Caixa. Você precisará do código a seguir e do número do documento de identificação utilizado na compra."
\ No newline at end of file
diff --git a/view/adminhtml/templates/info/cc/instructions.phtml b/view/adminhtml/templates/info/cc/instructions.phtml
index 5c42fc7..b7655e3 100644
--- a/view/adminhtml/templates/info/cc/instructions.phtml
+++ b/view/adminhtml/templates/info/cc/instructions.phtml
@@ -39,7 +39,7 @@ $mpPaymentId = isset($specificInfo['mp_payment_id']) ? $specificInfo['mp_payment
= $block->escapeHtml(__('card_finance_cost')); ?>: |
- = $block->escapeHtml($block->getFormatedPrice($specificInfo['card_finance_cost'])) ?> |
+ = $escaper->escapeHtml($block->getFormatedPrice($specificInfo['card_finance_cost'], false)) ?> |
diff --git a/view/adminhtml/templates/info/twocc/instructions.phtml b/view/adminhtml/templates/info/twocc/instructions.phtml
index 556c231..9566ac1 100644
--- a/view/adminhtml/templates/info/twocc/instructions.phtml
+++ b/view/adminhtml/templates/info/twocc/instructions.phtml
@@ -49,7 +49,7 @@ $mpPaymentId = isset($specificInfo['mp_payment_id']) ? $specificInfo['mp_payment
= $block->escapeHtml(__('card_finance_cost')); ?>: |
- = $block->escapeHtml($block->getFormatedPrice($specificInfo['card_' . $i . '_finance_cost'])) ?> |
+ = $escaper->escapeHtml($block->getFormatedPrice($specificInfo['card_' . $i . '_finance_cost'], false)) ?> |
diff --git a/view/frontend/templates/info/cc/instructions.phtml b/view/frontend/templates/info/cc/instructions.phtml
index 5535736..9fd66f3 100644
--- a/view/frontend/templates/info/cc/instructions.phtml
+++ b/view/frontend/templates/info/cc/instructions.phtml
@@ -29,7 +29,7 @@ $specificInfo = $block->getSpecificInformation();
= $block->escapeHtml(__('card_finance_cost')); ?>: |
- = $block->escapeHtml($block->getFormatedPrice($specificInfo['card_finance_cost'])) ?> |
+ = $escaper->escapeHtml($block->getFormatedPrice($specificInfo['card_finance_cost'], false)) ?> |
diff --git a/view/frontend/templates/info/twocc/instructions.phtml b/view/frontend/templates/info/twocc/instructions.phtml
index bd85747..90ee6d0 100644
--- a/view/frontend/templates/info/twocc/instructions.phtml
+++ b/view/frontend/templates/info/twocc/instructions.phtml
@@ -39,7 +39,7 @@ $specificInfo = $block->getSpecificInformation();
= $block->escapeHtml(__('card_finance_cost')); ?>: |
- = $block->escapeHtml($block->getFormatedPrice($specificInfo['card_' . $i . '_finance_cost'])) ?> |
+ = $escaper->escapeHtml($block->getFormatedPrice($specificInfo['card_' . $i . '_finance_cost'], false)) ?> |
diff --git a/view/frontend/templates/order/success/twocc.phtml b/view/frontend/templates/order/success/twocc.phtml
index ec527f9..2290e65 100644
--- a/view/frontend/templates/order/success/twocc.phtml
+++ b/view/frontend/templates/order/success/twocc.phtml
@@ -53,7 +53,7 @@
•
= $block->escapeHtml(__('Finance Cost')) ?>:
- = $block->escapeHtml(__($block->getFormatedPrice($block->getInfo('card_'.$i.'_finance_cost')))) ?>
+ = $escaper->escapeHtml(__($block->getFormatedPrice($block->getInfo('card_'.$i.'_finance_cost'), false))) ?>
diff --git a/view/frontend/web/css/source/_module.less b/view/frontend/web/css/source/_module.less
index 51553cc..1b59e48 100644
--- a/view/frontend/web/css/source/_module.less
+++ b/view/frontend/web/css/source/_module.less
@@ -205,7 +205,7 @@
p {
margin-bottom: 0px;
}
-
+
strong {
font-weight: 600;
}
@@ -759,7 +759,7 @@
}
@media screen and (max-width: 472px){
-
+
.mp-redirect-message {
margin-left: 0 ;
}
@@ -778,7 +778,7 @@
.payment-method .row-fluid-box-mercado-credits {
height: 36px;
}
-
+
.payment-method .row-text-mercado-credits {
white-space: normal;
}
@@ -817,4 +817,4 @@
.mp-credits-message-box {
text-align: left;
}
-}
+}
\ No newline at end of file
diff --git a/view/frontend/web/js/view/payment/method-renderer/cc.js b/view/frontend/web/js/view/payment/method-renderer/cc.js
index c46c74f..c59c604 100644
--- a/view/frontend/web/js/view/payment/method-renderer/cc.js
+++ b/view/frontend/web/js/view/payment/method-renderer/cc.js
@@ -305,7 +305,7 @@ define([
type: 'popup',
responsive: false,
innerScroll: false,
- title: $t('Complete the bank validation so your payment can be approved'),
+ title: $t('Complete the bank validation so your payment can be approved'),
modalClass: 'modal-challenge',
closed: function () {
self.destroyModal();
@@ -352,7 +352,7 @@ define([
}
}, 3000)
},
-
+
destroyModal() {
$('#modal-3ds-challenge').remove();
},
@@ -372,15 +372,15 @@ define([
try {
const interval = 2000;
let elapsedTime = 0;
-
+
const intervalId = setInterval(() => {
this.getPaymentStatus();
var paymentStatus = this.getPaymentStatusResponse();
-
+
if (elapsedTime >= 10000 || paymentStatus.status === 'approved' || paymentStatus.status === 'rejected') {
$('#modal-3ds-challenge').modal('closeModal');
this.destroyModal();
- clearInterval(intervalId);
+ clearInterval(intervalId);
this.placeOrder();
threeDs.sendMetric('mp_3ds_success_pooling_time', 'Pooling time: ' + elapsedTime.toString() + ' ms');
}
diff --git a/view/frontend/web/js/view/payment/method-renderer/twocc.js b/view/frontend/web/js/view/payment/method-renderer/twocc.js
index 47835a3..cdaed04 100644
--- a/view/frontend/web/js/view/payment/method-renderer/twocc.js
+++ b/view/frontend/web/js/view/payment/method-renderer/twocc.js
@@ -130,8 +130,8 @@ define([
const firstCardAmount = self.FormattedCurrencyToInstallments(self.inputValueProgress());
- const currentCardAmount = self.cardIndex() == 0
- ? self.FormattedCurrencyToInstallments(firstCardAmount)
+ const currentCardAmount = self.cardIndex() == 0
+ ? self.FormattedCurrencyToInstallments(firstCardAmount)
: self.FormattedCurrencyToInstallments(newAmount - firstCardAmount);
if (currentCardAmount !== self.installmentsAmount()) {
@@ -342,7 +342,7 @@ define([
if (this.getMpSiteId() === 'MCO' || this.getMpSiteId() === 'MLC') {
return true;
}
-
+
return false;
},
@@ -379,7 +379,7 @@ define([
return 'second-card-opened-form';
},
-
+
resetFirstCard() {
this.editFirstCard();
this.mpPayerDocument('');
@@ -405,4 +405,4 @@ define([
this.resetFirstCard();
},
});
-});
+});
\ No newline at end of file
diff --git a/view/frontend/web/template/payment/checkout-credits-form.html b/view/frontend/web/template/payment/checkout-credits-form.html
index 561d677..5afd4c2 100644
--- a/view/frontend/web/template/payment/checkout-credits-form.html
+++ b/view/frontend/web/template/payment/checkout-credits-form.html
@@ -68,4 +68,4 @@
-
+
\ No newline at end of file
diff --git a/view/frontend/web/template/payment/checkout-credits.html b/view/frontend/web/template/payment/checkout-credits.html
index edd1398..a8ba510 100644
--- a/view/frontend/web/template/payment/checkout-credits.html
+++ b/view/frontend/web/template/payment/checkout-credits.html
@@ -52,4 +52,4 @@
-
+
\ No newline at end of file