Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / CVV not as "required"

CVV not as "required"

Locked

Views: 1,111

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Jan 2007, 3:51 AM
#1
ngr avatar

ngr

New Zenner

Join Date:
Dec 2006
Posts:
23
Plugin Contributions:
0

CVV not as "required"

Hello,
Some type of credit cards (not all) that i work don´t need the CVV to complete the transaction so i need to know if it´s possible to make the CVV field not as required.

thanks"!

17 Jan 2007, 5:25 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: CVV not as "required"

what payment module are you using?
what cards are you referring to ?

17 Jan 2007, 5:33 PM
#3
ngr avatar

ngr

New Zenner

Join Date:
Dec 2006
Posts:
23
Plugin Contributions:
0

Re: CVV not as "required"

i use cc basic module to process credit card offline. We work with some local cards that don´t need a cvv number to accept the transaction so some of our clients maybe can be confussed, so i preffer to have the cvv field as not required and add a text like "required only for visa & mc".

17 Jan 2007, 5:57 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: CVV not as "required"

Use at own risk:

/includes/modules/payment/cc.php
Comment out the following, as shown:
approx lines 109-114:```
// if (MODULE_PAYMENT_CC_COLLECT_CVV == 'True') {
// $js .= ' if (cc_cvv == "" || cc_cvv.length < ' . CC_CVV_MIN_LENGTH . ') {' . "\n" .
// ' error_message = error_message + "' . MODULE_PAYMENT_CC_TEXT_JS_CC_CVV . '";' . "\n" .
// ' error = 1;' . "\n" .
// ' }' . "\n";
// }

17 Jan 2007, 6:49 PM
#5
ngr avatar

ngr

New Zenner

Join Date:
Dec 2006
Posts:
23
Plugin Contributions:
0

Re: CVV not as "required"

ok, thanks!. works OK for me. the only thing is when a CVV number is included , in checkout_confirmation don´t appear, but can be see in the admin, so no problem with that.

Thanks!!