1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("eSec", 'merchant_id' => 'test' );
8 login => 'test', #EPS_MERCHANT
9 action => 'Authorization only',
10 description => 'Business::OnlinePayment visa test',
12 invoice_number => '100100',
16 address => '123 Anystreet',
20 card_number => 'testfailure',
21 expiration => '08/06',
23 $tx->test_transaction(1); # test, dont really charge
26 if($tx->is_success()) {
28 #warn $tx->error_message;