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 811d38b0 authored by attilak's avatar attilak

if cvc is not required don't block the place order button

parent 069935f3
...@@ -266,7 +266,7 @@ define( ...@@ -266,7 +266,7 @@ define(
var cid = true; var cid = true;
if (this.agreement_data.card) { if (this.agreement_data.card) {
// if encrypted cvc is empty the request is not valid // if encrypted cvc is empty the request is not valid
if (this.encryptedCreditCardVerificationNumber.length === 0) { if (this.hasVerification() && this.encryptedCreditCardVerificationNumber.length === 0) {
cid = false; cid = false;
} }
} }
......
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