self-service view usage customization and CDR display fixes, RT11761
[freeside.git] / FS / FS / ClientAPI / Signup.pm
index 50b0b5d..b18f21f 100644 (file)
@@ -586,7 +586,8 @@ sub new_customer {
     unless grep { $_ eq $packet->{'payby'} }
                 $conf->config('signup_server-payby');
 
-  if (FS::payby->realtime($packet->{payby})) {
+  if (FS::payby->realtime($packet->{payby})
+    and not $conf->exists('signup_server-third_party_as_card')) {
     my $payby = $packet->{payby};
 
     my $agent = qsearchs('agent', { 'agentnum' => $agentnum });