[freeside-commits] branch FREESIDE_4_BRANCH_71513 updated. 553c407c1a2162c3cc220f54a286f3c43ae5f0e7

Jonathan Prykop jonathan at 420.am
Wed Nov 30 08:15:03 PST 2016


The branch, FREESIDE_4_BRANCH_71513 has been updated
       via  553c407c1a2162c3cc220f54a286f3c43ae5f0e7 (commit)
      from  9547ad4e7cc87b1cfe6bc9f2428da81481e18926 (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 553c407c1a2162c3cc220f54a286f3c43ae5f0e7
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Wed Nov 30 10:12:04 2016 -0600

    71513: Card tokenization [removed unneeded code]

diff --git a/FS/FS/cust_main/Billing_Realtime.pm b/FS/FS/cust_main/Billing_Realtime.pm
index 35c4f0d..68431fc 100644
--- a/FS/FS/cust_main/Billing_Realtime.pm
+++ b/FS/FS/cust_main/Billing_Realtime.pm
@@ -427,8 +427,6 @@ sub realtime_bop {
       $token_error = $options{'cust_payby'}->replace;
       return $token_error if $token_error;
     }
-    return "Cannot tokenize card info"
-      if $conf->exists('no_saved_cardnumbers') && !$self->tokenized($options{'payinfo'});
   }
 
   ### 
@@ -1777,8 +1775,6 @@ sub realtime_verify_bop {
     return $token_error if $token_error;
     #important that we not replace cust_payby here,
     #because cust_payby->replace uses realtime_verify_bop!
-    return "Cannot tokenize card info"
-      if $conf->exists('no_saved_cardnumbers') && !$self->tokenized($options{'payinfo'});
   }
 
   ###

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/Billing_Realtime.pm |    4 ----
 1 file changed, 4 deletions(-)




More information about the freeside-commits mailing list