s/amount/amt/ and a working test account... passes all tests!
[Business-OnlinePayment-Network1Financial.git] / t / bad_auth.t
index c5e3482..141b399 100644 (file)
@@ -5,8 +5,8 @@ use Business::OnlinePayment;
 my $tx = new Business::OnlinePayment("Network1Financial");
 $tx->content(
     type           => 'VISA',
-    login          => '999999999999',
-    password       => 'AAAAAAAAAAAA',
+    login          => '999999999996',
+    password       => 'J4BGW3Q2K8N4',
     action         => 'Normal Authorization',
     description    => 'Business::OnlinePayment visa test',
     amount         => '49.95',
@@ -14,11 +14,12 @@ $tx->content(
     customer_id    => 'jsk',
     first_name     => 'Tofu',
     last_name      => 'Beast',
+    name           => 'Tofu Beast',
     address        => '123 Anystreet',
     city           => 'Anywhere',
     state          => 'UT',
     zip            => '84058',
-    card_number    => 'testfailure',
+    card_number    => '4111111111111112',
     expiration     => '08/06',
 );
 $tx->test_transaction(1); # test, dont really charge