summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-11-30 10:12:04 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-11-30 10:14:30 -0600
commit553c407c1a2162c3cc220f54a286f3c43ae5f0e7 (patch)
tree620a1dcb1df3aaa4f3dcbee54e5ded2dc765749e
parent9547ad4e7cc87b1cfe6bc9f2428da81481e18926 (diff)
71513: Card tokenization [removed unneeded code]
-rw-r--r--FS/FS/cust_main/Billing_Realtime.pm4
1 files changed, 0 insertions, 4 deletions
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'});
}
###