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("OpenECHO");
13 'login' => '123>4685706',
14 'password' => '09437869',
15 action => 'Normal Authorization',
16 description => 'Business::OnlinePayment visa test',
18 invoice_number => '100100',
22 address => '123 Anystreet',
26 phone => '420-543-2199',
27 card_number => '4005550000000019',
28 expiration => '08/06',
30 $tx->test_transaction(1); # test, dont really charge
33 if($tx->is_success()) {
36 #warn $tx->server_response."\n";
37 warn $tx->error_message. "\n";