0.03
[Business-OnlinePayment-OpenECHO.git] / t / crypt_check.t
index d0c09ab..e5cecc2 100644 (file)
@@ -4,6 +4,8 @@ BEGIN {
   $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1;
 }
 
+print "ok 1 # Skipped: testing account won't accept ACH transactions\n"; exit;
+
 eval "use Crypt::SSLeay;";
 if ( $@ ) {
   print "ok 1 # Skipped: Crypt::SSLeay is not installed\n"; exit;
@@ -12,7 +14,9 @@ if ( $@ ) {
 use Business::OnlinePayment;
 
 # checks are broken it seems
-my $ctx = new Business::OnlinePayment("OpenECHO");
+my $ctx = new Business::OnlinePayment("OpenECHO",
+  payee          => 'Tofu Heavy Enterprises, GmbH',
+);
 $ctx->content(
     type           => 'ECHECK',
     'login'        => '123>4685706',
@@ -27,7 +31,7 @@ $ctx->content(
     routing_code   => '026009593',
     bank_name      => 'First National Test Bank',
     phone          => '420-420-5454',
-    payee          => 'Tofu Heavy Enterprises, GmbH',
+    #payee          => 'Tofu Heavy Enterprises, GmbH',
     check_number   => '420',
 );
 $ctx->test_transaction(1); # test, dont really charge