depend_jobnum => $placeholder->jobnum,
selfservice => 1,
);
- #warn "$me error collecting from new customer: $bill_error"
- # if $bill_error;
+ warn "$me error collecting from new customer: $bill_error"
+ if $bill_error && !ref($bill_error);
}
if ($bill_error && ref($bill_error) eq 'HASH') {
my $conf = new FS::Conf;
my $url = $packet->{url};
- my $payment_gateway = $payment_gateway = qsearchs('payment_gateway',
+ my $payment_gateway = qsearchs('payment_gateway',
{ 'gateway_callback_url' => popurl(0, $url) }
);
if (!$payment_gateway) {