From 967599557573f4156cfba579b6a7bb9b28411c54 Mon Sep 17 00:00:00 2001
From: ivan <ivan>
Date: Mon, 7 Mar 2011 16:01:47 +0000
Subject: [PATCH] As per Linkpoint instructions, add "-k" flag to curl to skip
 SSL cert validation

---
 Changes      | 4 ++++
 LinkPoint.pm | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Changes b/Changes
index ae9b956..c7704dc 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension Business::OnlinePayment::LinkPoint.
 
+0.11    unreleased
+        - As per Linkpoint instructions, add "-k" flag to curl to skip SSL cert
+          validation
+
 0.10    Wed Jun 18 14:44:54 PDT 2008
         - add PREREQ_PM on lpperl
 
diff --git a/LinkPoint.pm b/LinkPoint.pm
index 1d59eea..fb68682 100644
--- a/LinkPoint.pm
+++ b/LinkPoint.pm
@@ -6,7 +6,7 @@ use Carp qw(croak);
 use Business::OnlinePayment;
 
 @ISA = qw(Business::OnlinePayment);
-$VERSION = '0.10';
+$VERSION = '0.11';
 $VERSION = eval $VERSION; # modperlstyle: convert the string into a number
 $DEBUG = 0;
 
@@ -215,7 +215,7 @@ sub submit {
       $post_data{debug} = 'true';
     }
 
-    $post_data{'cargs'} = '-k -m 300 -s -S' if $self->test_transaction;
+    $post_data{'cargs'} = '-k -m 300 -s -S'; #if $self->test_transaction;
 
     # avoid some uninitialized warnings in lpperl.pm
     foreach (qw(webspace debug debugging)) { $post_data{$_} ||= '' }
-- 
2.20.1