X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FClientAPI%2FSignup.pm;h=035a31771301c8520978cc49b32053e03f23b1fe;hb=68282d000bffde8638af4d70ec2f122356929ecd;hp=7fad7b3089e8b6c8ca50c3d68b56e4e48fbc4950;hpb=da820d8c8837dce295e7cbd61accc22c4c019e14;p=freeside.git diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index 7fad7b308..035a31771 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -794,8 +794,8 @@ sub new_customer { 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') { @@ -1104,7 +1104,7 @@ sub capture_payment { 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) {