changes to support eWay third-party payment, #10208
[freeside.git] / FS / FS / agent.pm
index d291ca0..3794d3f 100644 (file)
@@ -276,7 +276,7 @@ sub payment_gateway {
     $payment_gateway = $override->payment_gateway;
 
     $payment_gateway->gateway_namespace('Business::OnlinePayment')
     $payment_gateway = $override->payment_gateway;
 
     $payment_gateway->gateway_namespace('Business::OnlinePayment')
-      unless $payment_gateway->gateway_name;
+      unless $payment_gateway->gateway_namespace;
 
   } else { #use the standard settings from the config
 
 
   } else { #use the standard settings from the config