2 $| = 1; print "1..1\n";
3 $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1;
4 $Business::OnlinePayment::HTTPS::skip_NetSSLeay=1;
7 print "ok 1 # Skipped: No way to get a decline response out of test account";
10 eval "use Crypt::SSLeay;";
12 print "ok 1 # Skipped: Crypt::SSLeay is not installed\n"; exit;
15 use Business::OnlinePayment;
17 require "t/lib/test_account.pl";
18 my($login, $regkey) = test_account_or_skip();
20 my $tx = new Business::OnlinePayment("TransactionCentral");
26 action => 'Normal Authorization',
28 #card_number => '4012000000001',
29 card_number => '4342424242424242',
30 expiration => '08/06',
33 address => '123 Anystreet',
38 email => 'ivan-transactioncentral-test@420.am',
40 $tx->test_transaction(1); # test, dont really charge
43 if($tx->is_success()) {
46 #warn $tx->server_response."\n";
47 #warn $tx->error_message. "\n";