Explicity turn off SSL hostname verification - appears not to be working on older...
[Business-OnlinePayment-FirstDataGlobalGateway.git] / lib / Business / OnlinePayment / FirstDataGlobalGateway.pm
index ca693e9..e9b0659 100644 (file)
@@ -8,7 +8,7 @@ use Business::CreditCard;
 use SOAP::Lite; #+trace => 'all';
 #SOAP::Lite->import(+trace=>'debug');
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 $VERSION = eval $VERSION; # modperlstyle: convert the string into a number
 
 our @alpha = ( 'a'..'z', 'A'..'Z', '0'..'9' );
@@ -198,6 +198,7 @@ sub submit {
    #CustomerIDType CustomerID
 
   my $wsdl = "$proxy/wsdl";
+  $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
   my $client = SOAP::Lite->service($wsdl)->proxy($proxy)->readable(1);
   my $action_prefix = 'http://secure2.e-xact.com/vplug-in/transaction/rpc-enc';
   my $type_prefix = $action_prefix . '/encodedTypes';