1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("OCV",
12 login => '10009', #ClientID
13 action => 'Normal Authorization',
14 description => 'Business::OnlinePayment visa test',
16 invoice_number => '100100',
21 address => '123 Anystreet',
25 card_number => '4111111111111111',
26 expiration => '08/06',
28 $tx->test_transaction(1); # test, dont really charge (NOP for this gateway)
31 if($tx->is_success()) {
34 warn "*******". $tx->error_message. "*******";