1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("LinkPoint",
6 'storename' => '1909922411',
7 'keyfile' => './test.pem',
12 action => 'Normal Authorization',
13 description => 'Business::OnlinePayment::LinkPoint visa test',
17 address => '123 Anystreet',
22 email => 'ivan-linkpoint@420.am',
23 account_number => '0027',
24 account_type => 'Personal Checking',
25 routing_code => '400700000',
26 bank_name => 'SomeBank',
30 $tx->test_transaction(1);
34 if($tx->is_success()) {
36 $auth = $tx->authorization;
37 warn "********* $auth ***********\n";
40 warn '***** '. $tx->error_message. " *****\n";