diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-05-05 22:14:36 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-05-05 22:14:36 -0500 |
commit | 77ea8306a967f5d34e98b0900cc7414f4540f04a (patch) | |
tree | 7705723c0ca2935003810d222790ec70bc6aef99 /httemplate/misc/process/payment.cgi | |
parent | dca12af272e0061810d14e611afa07adb58389ef (diff) |
RT#37632: Credit card validation [v3, saving from payment.cgi]
Diffstat (limited to 'httemplate/misc/process/payment.cgi')
-rw-r--r-- | httemplate/misc/process/payment.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi index a475786dd..dcfcc0b85 100644 --- a/httemplate/misc/process/payment.cgi +++ b/httemplate/misc/process/payment.cgi @@ -164,7 +164,10 @@ if ( $cgi->param('save') ) { #false laziness w/FS:;cust_main::realtime_bop - check both to make sure # working correctly if ( $payby eq 'CARD' && - grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save') ) { + ( (grep { $_ eq cardtype($payinfo) } $conf->config('cvv-save')) + || $conf->exists('business-onlinepayment-verification') + ) + ) { $new->set( 'paycvv' => $paycvv ); } else { $new->set( 'paycvv' => ''); |