summaryrefslogtreecommitdiff
path: root/FS/FS/payinfo_transaction_Mixin.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-04-03 17:18:31 -0700
committerMark Wells <mark@freeside.biz>2013-04-03 17:18:31 -0700
commitb76f78eed096a15249722731a2823613bf87331e (patch)
treeaefb64704bac437136c5eba6e3a935636a465afe /FS/FS/payinfo_transaction_Mixin.pm
parent4eec6f5915c280d818ade87c0e6ce286c5d61c37 (diff)
make cust_pay upgrade more tolerant about payment gateways
Diffstat (limited to 'FS/FS/payinfo_transaction_Mixin.pm')
-rw-r--r--FS/FS/payinfo_transaction_Mixin.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/FS/FS/payinfo_transaction_Mixin.pm b/FS/FS/payinfo_transaction_Mixin.pm
index 093891e..50659ac 100644
--- 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;
}