Commit 20190775 authored by attilak's avatar attilak Committed by Rik ter Beek

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

parent 776b54d4
...@@ -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