1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 # checks are broken it seems
6 my $ctx = new Business::OnlinePayment("PaymentsGateway");
10 password => 'testing',
11 action => 'Normal Authorization',
13 invoice_number => '100100',
17 account_number => '12345',
18 routing_code => '123456789',
19 bank_name => 'First National Test Bank',
21 $ctx->test_transaction(1); # test, dont really charge
24 print $ctx->is_success()."\n";
26 if($ctx->is_success()) {
29 print "not ok 1 (".$ctx->error_message().")\n";