1 BEGIN {$| = 1; print "1..1\n"; }
3 print "ok 1 # Skipped: No way to get a decline response out of test account";
6 eval "use Net::SSLeay;";
8 print "ok 1 # Skipped: Net::SSLeay is not installed\n"; exit;
11 use Business::OnlinePayment;
13 my $tx = new Business::OnlinePayment("TransactionCentral");
15 #$Business::OnlinePayment::HTTPS::DEBUG = 1;
16 #$Business::OnlinePayment::HTTPS::DEBUG = 1;
17 $Business::OnlinePayment::TransactionCentral::DEBUG = 1;
18 $Business::OnlinePayment::TransactionCentral::DEBUG = 1;
23 password => 'KK48NPYEJHMAH6DK', #regkey
24 action => 'Normal Authorization',
26 #card_number => '4012000000001',
27 #card_number => '4342424242424242',
29 expiration => '08/06',
32 address => '123 Anystreet',
37 email => 'ivan-transactioncentral-test@420.am',
39 $tx->test_transaction(1); # test, dont really charge
42 if($tx->is_success()) {
45 #warn $tx->server_response."\n";
46 #warn $tx->error_message. "\n";