projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eec6f5
)
make cust_pay upgrade more tolerant about payment gateways
author
Mark Wells
<mark@freeside.biz>
Thu, 4 Apr 2013 00:18:31 +0000
(17:18 -0700)
committer
Mark Wells
<mark@freeside.biz>
Thu, 4 Apr 2013 00:18:31 +0000
(17:18 -0700)
FS/FS/payinfo_transaction_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/payinfo_transaction_Mixin.pm
b/FS/FS/payinfo_transaction_Mixin.pm
index
093891e
..
50659ac
100644
(file)
--- a/
FS/FS/payinfo_transaction_Mixin.pm
+++ b/
FS/FS/payinfo_transaction_Mixin.pm
@@
-73,10
+73,7
@@
sub _parse_paybatch {
my $payment_gateway =
qsearchs('payment_gateway', { 'gatewaynum' => $gatewaynum } );
- die "payment gateway $gatewaynum not found" #?
- unless $payment_gateway;
-
- $processor = $payment_gateway->gateway_module;
+ $processor = $payment_gateway->gateway_module if $payment_gateway;
}