projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
13b6214
)
fix cards being inserted as N/A (fallout from RT#4103), RT#8809
author
ivan
<ivan>
Thu, 17 Jun 2010 19:39:15 +0000
(19:39 +0000)
committer
ivan
<ivan>
Thu, 17 Jun 2010 19:39:15 +0000
(19:39 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
99b97af
..
1d2bf83
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-1715,12
+1715,7
@@
sub check {
# If it is encrypted and the private key is not availaible then we can't
# check the credit card.
# If it is encrypted and the private key is not availaible then we can't
# check the credit card.
-
- my $check_payinfo = 1;
-
- if ($self->is_encrypted($self->payinfo)) {
- $check_payinfo = 0;
- }
+ my $check_payinfo = ! $self->is_encrypted($self->payinfo);
if ( $check_payinfo && $self->payby =~ /^(CARD|DCRD)$/ ) {
if ( $check_payinfo && $self->payby =~ /^(CARD|DCRD)$/ ) {
@@
-4796,7
+4791,7
@@
sub _realtime_bop_result {
'paid' => $cust_pay_pending->paid,
'_date' => '',
'payby' => $cust_pay_pending->payby,
'paid' => $cust_pay_pending->paid,
'_date' => '',
'payby' => $cust_pay_pending->payby,
-
#'payinfo' => $payinfo
,
+
'payinfo' => $options{'payinfo'}
,
'paybatch' => $paybatch,
'paydate' => $cust_pay_pending->paydate,
'pkgnum' => $cust_pay_pending->pkgnum,
'paybatch' => $paybatch,
'paydate' => $cust_pay_pending->paydate,
'pkgnum' => $cust_pay_pending->pkgnum,