1 BEGIN { $| = 1; print "1..1\n"; }
3 eval "use Net::SSLeay;";
5 print "ok 1 # Skipped: Net::SSLeay is not installed\n"; exit;
8 use Business::OnlinePayment;
10 my $tx = new Business::OnlinePayment("PPIPayMover");
13 'login' => '195325FCC230184964CAB3A8D93EEB31888C42C714E39CBBB2E541884485D04B', #token
14 action => 'Normal Authorization',
15 description => 'Business::OnlinePayment visa test',
17 invoice_number => '100100',
21 address => '123 Anystreet',
25 phone => '420-543-2199',
26 card_number => '4007000000027',
27 expiration => '08/09',
29 $tx->test_transaction(1); # test, dont really charge
32 if($tx->is_success()) {
35 #warn $tx->server_response."\n";
36 #warn $tx->error_message. "\n";