summaryrefslogtreecommitdiff
path: root/t/bad_auth.t
diff options
context:
space:
mode:
authorivan <ivan>2003-01-22 10:48:48 +0000
committerivan <ivan>2003-01-22 10:48:48 +0000
commita6890d361554f119a7230efec5c59e615b1728ed (patch)
treea49a63986df349ed58a081c99590acee32c9d66f /t/bad_auth.t
parentb1085869cd350b0df23fcca35dc659e0d0cc46fa (diff)
Diffstat (limited to 't/bad_auth.t')
-rw-r--r--t/bad_auth.t18
1 files changed, 10 insertions, 8 deletions
diff --git a/t/bad_auth.t b/t/bad_auth.t
index e0db291..2ed6e69 100644
--- a/t/bad_auth.t
+++ b/t/bad_auth.t
@@ -1,16 +1,17 @@
-BEGIN { $| = 1; print "1..2\n"; }
+BEGIN { $| = 1; print "1..1\n"; }
use Business::OnlinePayment;
my $tx = new Business::OnlinePayment("PayflowPro",
-# 'storename' => '000000',
-# 'keyfile' => '/path/to/cert.pem',
-# 'lbin' => '/path/to/lbin',
-# 'tmp' => '/path/to/secure/tempdir',
+ #'vendor' => 'your_vendor',
+ 'partner' => 'verisign',
+ 'cert_path' => '/home/ivan/Business-OnlinePayment-PayflowPro.docs/verisign/payflowpro/linux/certs/',
);
$tx->content(
type => 'VISA',
+ login => 'test231',
+ password => '231test',
action => 'Normal Authorization',
description => 'Business::OnlinePayment::PayflowPro visa test',
amount => '0.01',
@@ -22,9 +23,10 @@ $tx->content(
zip => '84058',
country => 'US',
email => 'ivan-payflowpro@420.am',
- card_number => '4007000000027',
- expiration => '12/2002',
-# result => 'DECLINE',
+ #card_number => '4007000000027',
+ #card_number => '4111111111111111',
+ card_number => '4111111111111112',
+ expiration => '12/2004',
);
$tx->test_transaction(1);