1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("Network1Financial");
8 login => '999999999996',
9 password => 'J4BGW3Q2K8N4',
10 action => 'Normal Authorization',
11 description => 'Business::OnlinePayment visa test',
13 invoice_number => '100100',
18 address => '123 Anystreet',
22 card_number => '4111111111111112',
23 expiration => '08/06',
25 $tx->test_transaction(1); # test, dont really charge
28 if($tx->is_success()) {
30 #warn $tx->error_message;