s/CHECK/ECHECK/, DOH
authorivan <ivan>
Sat, 25 Mar 2006 06:49:16 +0000 (06:49 +0000)
committerivan <ivan>
Sat, 25 Mar 2006 06:49:16 +0000 (06:49 +0000)
Changes
MANIFEST
OpenECHO.pm
t/bad_check.t
t/check.t
t/crypt_bad_check.t
t/crypt_check.t

diff --git a/Changes b/Changes
index 25e8f10..b8d0000 100644 (file)
--- a/Changes
+++ b/Changes
@@ -9,6 +9,7 @@
          "try void first, if it fails, try credit" idiom will work.
        - tests: enable check.t and add crypt_check.t and {crypt_}bad_check.t
        - update with new test account
+       - s/CHECK/ECHECK/, DOH
 
 0.02  Mon Sep 13 17:14:29 2004
        - update test account with new PIN
index a10629b..5cca117 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -13,6 +13,9 @@ t/bop.t
 t/capture.t
 t/bad_card.t
 t/crypt_bad_card.t
+t/bad_check.t
+t/crypt_bad_check.t
+t/crypt_check.t
 generror/ISPGuide-Codes.asp
 generror/errortable.html
 generror/errortable2hash.pl
index a9eed3a..682c488 100644 (file)
@@ -127,7 +127,7 @@ sub map_fields {
                  #'void'                 => 'VOID',\r
                );\r
       }\r
-    } elsif ( $content{'type'} =~ /^check$/i ) {\r
+    } elsif ( $content{'type'} =~ /^e?check$/i ) {\r
       %map = ( 'normal authorization' => 'DD',\r
                'authorization only'   => 'DV',\r
                'credit'               => 'DC',\r
index 6b44591..4102922 100644 (file)
@@ -10,7 +10,7 @@ use Business::OnlinePayment;
 # checks are broken it seems
 my $ctx = new Business::OnlinePayment("OpenECHO");
 $ctx->content(
-    type           => 'CHECK',
+    type           => 'ECHECK',
     'login'        => '123>4685706',
     'password'     => '09437869',
     action         => 'Normal Authorization',
index c68c442..f8c83a3 100644 (file)
--- a/t/check.t
+++ b/t/check.t
@@ -10,7 +10,7 @@ use Business::OnlinePayment;
 # checks are broken it seems
 my $ctx = new Business::OnlinePayment("OpenECHO");
 $ctx->content(
-    type           => 'CHECK',
+    type           => 'ECHECK',
     'login'        => '123>4685706',
     'password'     => '09437869',
     action         => 'Normal Authorization',
index 4903b48..f47f53e 100644 (file)
@@ -14,7 +14,7 @@ use Business::OnlinePayment;
 # checks are broken it seems
 my $ctx = new Business::OnlinePayment("OpenECHO");
 $ctx->content(
-    type           => 'CHECK',
+    type           => 'ECHECK',
     'login'        => '123>4685706',
     'password'     => '09437869',
     action         => 'Normal Authorization',
index 7d01a85..d0c09ab 100644 (file)
@@ -14,7 +14,7 @@ use Business::OnlinePayment;
 # checks are broken it seems
 my $ctx = new Business::OnlinePayment("OpenECHO");
 $ctx->content(
-    type           => 'CHECK',
+    type           => 'ECHECK',
     'login'        => '123>4685706',
     'password'     => '09437869',
     action         => 'Normal Authorization',