We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 54f12c51 authored by Aleffio's avatar Aleffio

QuickFix for American Express cards.

parent bfdcc240
...@@ -143,7 +143,7 @@ define( ...@@ -143,7 +143,7 @@ define(
var creditCardExpMonth, creditCardExpYear = false; var creditCardExpMonth, creditCardExpYear = false;
if(value.agreement_data.card) { if(value.agreement_data.card) {
creditCardExpMonth = value.agreement_data.card.expiryMonth creditCardExpMonth = value.agreement_data.card.expiryMonth;
creditCardExpYear = value.agreement_data.card.expiryYear; creditCardExpYear = value.agreement_data.card.expiryYear;
} }
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
data-bind="attr: {id: getCode() + '_' + value + '_cc_cid', data-bind="attr: {id: getCode() + '_' + value + '_cc_cid',
title: $t('Card Verification Number'), title: $t('Card Verification Number'),
'data-container': getCode() + '-' + value + '-cc-cvv', 'data-container': getCode() + '-' + value + '-cc-cvv',
'data-validate': JSON.stringify({'required-number':true, 'validate-card-cvv':'#' + getCode() + '_' + value + '_cc_type'})}, 'data-validate': JSON.stringify({'required-number':true})},
enable: $parent.isActive($parents), enable: $parent.isActive($parents),
value: creditCardVerificationNumber" value: creditCardVerificationNumber"
data-validate="{required:true}"/> data-validate="{required:true}"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment