[freeside-commits] freeside/FS/FS/ClientAPI Signup.pm,1.48,1.49
Ivan,,,
ivan at wavetail.420.am
Thu Jun 25 12:47:50 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv7762/ClientAPI
Modified Files:
Signup.pm
Log Message:
fix signups for the no-gateway-at-all case, RT#5673
Index: Signup.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/Signup.pm,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- Signup.pm 10 Mar 2009 16:14:10 -0000 1.48
+++ Signup.pm 25 Jun 2009 19:47:48 -0000 1.49
@@ -286,11 +286,12 @@
foreach my $payby (@{$signup_info->{payby}}) {
warn "$me checking $payby payment fields\n" if $DEBUG > 1;
my $hide = 0;
- if (FS::payby->realtime($payby)) {
+ if ( FS::payby->realtime($payby) ) {
my $payment_gateway =
$agent->payment_gateway( 'method' => FS::payby->payby2bop($payby) );
- if ($payment_gateway->gateway_namespace eq
- 'Business::OnlineThirdPartyPayment'
+ if ( $payment_gateway
+ && $payment_gateway->gateway_namespace
+ eq 'Business::OnlineThirdPartyPayment'
) {
warn "$me hiding $payby payment fields\n" if $DEBUG > 1;
$hide = 1;
More information about the freeside-commits
mailing list