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 my $tx = new Business::OnlinePayment("TransactionCentral");
22 password => 'KK48NPYEJHMAH6DK', #regkey
23 action => 'Normal Authorization',
25 #card_number => '4012000000001',
26 card_number => '4342424242424242',
27 expiration => '08/06',
30 address => '123 Anystreet',
35 email => 'ivan-transactioncentral-test@420.am',
37 $tx->test_transaction(1); # test, dont really charge
40 if($tx->is_success()) {
43 #warn $tx->server_response."\n";
44 #warn $tx->error_message. "\n";