2 $| = 1; print "1..1\n";
3 $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1;
4 $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1;
7 eval "use Crypt::SSLeay;";
9 print "ok 1 # Skipped: Crypt::SSLeay is not installed\n"; exit;
12 use Business::OnlinePayment;
14 my $tx = new Business::OnlinePayment("eSelectPlus");
19 action => 'Normal Authorization',
22 card_number => '4242424242424242',
23 expiration => '08/06',
25 $tx->test_transaction(1); # test, dont really charge
28 if($tx->is_success()) {
31 #warn $tx->server_response."\n";
32 warn $tx->error_message. "\n";