1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("Network1Financial");
8 login => '999999999999',
9 password => 'AAAAAAAAAAAA',
10 action => 'Normal Authorization',
11 description => 'Business::OnlinePayment visa test',
13 invoice_number => '100100',
17 address => '123 Anystreet',
21 card_number => 'testfailure',
22 expiration => '08/06',
24 $tx->test_transaction(1); # test, dont really charge
27 if($tx->is_success()) {
29 #warn $tx->error_message;