[freeside-commits] freeside/FS/FS/ClientAPI Signup.pm,1.51,1.52
Ivan,,,
ivan at wavetail.420.am
Tue Sep 15 15:58:56 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv26310
Modified Files:
Signup.pm
Log Message:
hopefully really finish fixing for good "Real timeprocessing not enabled!" error when using signup without any real-time processor, RT#6043
Index: Signup.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/Signup.pm,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- Signup.pm 25 Jun 2009 20:23:22 -0000 1.51
+++ Signup.pm 15 Sep 2009 22:58:54 -0000 1.52
@@ -471,14 +471,12 @@
return { 'error' => "Unknown reseller" }
unless $agent;
- my $payment_gateway =
- $agent->payment_gateway( 'method' => FS::payby->payby2bop($payby) );
+ my $gw = $agent->payment_gateway( 'method' => FS::payby->payby2bop($payby),
+ 'nofatal' => 1,
+ );
- if ($payment_gateway->gateway_namespace eq
- 'Business::OnlineThirdPartyPayment'
- ) {
- $cust_main->payby('BILL'); # MCRD better?
- }
+ $cust_main->payby('BILL') # MCRD better?
+ if $gw && $gw->gateway_namespace eq 'Business::OnlineThirdPartyPayment';
}
$cust_main->payinfo($cust_main->daytime)
More information about the freeside-commits
mailing list