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 card_number => '4007000000027',
24 expiration => '12/2008',
28 $tx->test_transaction(1);
32 if($tx->is_success()) {
34 $auth = $tx->authorization;
35 warn "********* $auth ***********\n";
38 warn '***** '. $tx->error_message. " *****\n";