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 account_number => 'badaccountnumber',
19 #routing_code => '123456789',
20 routing_code => 'badroutingcode',
21 bank_name => 'First National Test Bank',
23 $ctx->test_transaction(1); # test, dont really charge
26 print $ctx->is_success()."\n";
28 if($ctx->is_success()) {
31 #warn $ctx->error_message();