[freeside-commits] branch FREESIDE_4_BRANCH updated. f2c46c3618b184dc8d737e885b3914580b56975b
Jonathan Prykop
jonathan at 420.am
Thu May 5 19:38:51 PDT 2016
The branch, FREESIDE_4_BRANCH has been updated
via f2c46c3618b184dc8d737e885b3914580b56975b (commit)
from dc2377e46bde3bebcf352d5bc6dd09ff9a155523 (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 f2c46c3618b184dc8d737e885b3914580b56975b
Author: Jonathan Prykop <jonathan at freeside.biz>
Date: Thu May 5 21:36:15 2016 -0500
RT#37632: Credit card validation [saving from payment.cgi]
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index ba28f2a..4946d99 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -4600,7 +4600,10 @@ sub save_cust_payby {
# compare to FS::cust_main::realtime_bop - check both to make sure working correctly
if ( $payby eq 'CARD' &&
- grep { $_ eq cardtype($opt{'payinfo'}) } $conf->config('cvv-save') ) {
+ ( (grep { $_ eq cardtype($opt{'payinfo'}) } $conf->config('cvv-save'))
+ || $conf->exists('business-onlinepayment-verification')
+ )
+ ) {
$new->set( 'paycvv' => $opt{'paycvv'} );
} else {
$new->set( 'paycvv' => '');
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_main.pm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list