[freeside-commits] branch FREESIDE_3_BRANCH updated. 77ea8306a967f5d34e98b0900cc7414f4540f04a
Jonathan Prykop
jonathan at 420.am
Thu May 5 20:14:59 PDT 2016
The branch, FREESIDE_3_BRANCH has been updated
via 77ea8306a967f5d34e98b0900cc7414f4540f04a (commit)
from dca12af272e0061810d14e611afa07adb58389ef (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 77ea8306a967f5d34e98b0900cc7414f4540f04a
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Thu May 5 22:14:36 2016 -0500
RT#37632: Credit card validation [v3, saving from payment.cgi]
diff --git a/httemplate/misc/process/payment.cgi b/httemplate/misc/process/payment.cgi
index a475786..dcfcc0b 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' => '');
-----------------------------------------------------------------------
Summary of changes:
httemplate/misc/process/payment.cgi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list