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("eSelectPlus");
12 #$Business::OnlinePayment::HTTPS::DEBUG = 1;
13 #$Business::OnlinePayment::HTTPS::DEBUG = 1;
14 $Business::OnlinePayment::eSelectPlus::DEBUG = 1;
15 $Business::OnlinePayment::eSelectPlus::DEBUG = 1;
21 action => 'Normal Authorization',
24 card_number => '4242424242424242',
25 expiration => '01/12',
27 address => '1234 Tofu Lane',
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";