1 #BEGIN { $| = 1; print "1..1\n"; }
2 use Test::More tests => 1;
5 skip "test account no longer available", 1;
7 use Business::OnlinePayment;
9 my $ctx = new Business::OnlinePayment("PaymentsGateway");
13 password => 'merchant4demo',
14 action => 'Normal Authorization',
16 invoice_number => '100100',
20 account_number => '12345',
21 routing_code => '321076441',
22 bank_name => 'First National Test Bank',
24 $ctx->test_transaction(1); # test, dont really charge
27 print $ctx->is_success()."\n";
29 if($ctx->is_success()) {
32 warn $ctx->result_code. ': '. $ctx->error_message();
33 print "not ok 1 (".$ctx->error_message().")\n";