diff options
author | Ivan Kohler <ivan@freeside.biz> | 2018-03-20 17:32:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2018-03-20 17:32:26 -0700 |
commit | 56d9d1f1ae498ec57ff03e4128447c362b997690 (patch) | |
tree | 64bacd01ff3071777a3a2c016a0623f92330841d | |
parent | 0e04297ed42836f89ad7fa66145c95717a9551fe (diff) |
Explicity turn off SSL hostname verification - appears not to be working on older systems since switch to cloudflare CDNHEADmaster
-rw-r--r-- | Changes | 4 | ||||
-rw-r--r-- | lib/Business/OnlinePayment/FirstDataGlobalGateway.pm | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,9 @@ Revision history for Perl module Business::OnlinePayment::FirstDataGlobalGateway +0.03 unreleased + - Explicity turn off SSL hostname verification - appears not to be + working on older systems since switch to cloudflare CDN + 0.02 unreleased - Declare dep on Business::CreditCard, closes: rt.cpan.org #110172 diff --git a/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm b/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm index ca693e9..e9b0659 100644 --- a/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm +++ b/lib/Business/OnlinePayment/FirstDataGlobalGateway.pm @@ -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'; |