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("Skipjack");
12 #$Business::OnlinePayment::HTTPS::DEBUG = 1;
13 #$Business::OnlinePayment::HTTPS::DEBUG = 1;
14 #$Business::OnlinePayment::Skipjack::DEBUG = 1;
15 #$Business::OnlinePayment::Skipjack::DEBUG = 1;
19 login => '000944785470', # "HTML serial number"
20 action => 'Normal Authorization',
21 description => 'Business::OnlinePayment::Skipjack test',
23 card_number => '5121212121212124',
24 expiration => '03/10',
26 address => '123 Anystreet',
30 phone => '415-420-5454',
31 email => 'ivan-skipjack-test@420.am',
33 $tx->test_transaction(1); # test, dont really charge
36 if($tx->is_success()) {
39 #warn $tx->server_response."\n";
40 warn $tx->error_message. "\n";