[freeside-commits] branch master updated. e50d09c68e9182ea4d1301ab04fb3559b3754c91

Jonathan Prykop jonathan at 420.am
Thu May 5 19:36:33 PDT 2016


The branch, master has been updated
       via  e50d09c68e9182ea4d1301ab04fb3559b3754c91 (commit)
      from  ae6da3640abb4da924f77e4a474c7742f06e243a (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 e50d09c68e9182ea4d1301ab04fb3559b3754c91
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 4ec5a02..766dbe7 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -4372,7 +4372,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