diff options
author | Mark Wells <mark@freeside.biz> | 2013-04-03 17:18:31 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-04-03 17:18:31 -0700 |
commit | b76f78eed096a15249722731a2823613bf87331e (patch) | |
tree | aefb64704bac437136c5eba6e3a935636a465afe /FS | |
parent | 4eec6f5915c280d818ade87c0e6ce286c5d61c37 (diff) |
make cust_pay upgrade more tolerant about payment gateways
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/payinfo_transaction_Mixin.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/FS/FS/payinfo_transaction_Mixin.pm b/FS/FS/payinfo_transaction_Mixin.pm index 093891e93..50659ac1e 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; } |