1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("LinkPoint",
6 'storename' => '1909796604',
7 'keyfile' => './test.pem',
8 'server' => 'staging.linkpt.net',
13 action => 'Normal Authorization',
14 description => 'Business::OnlinePayment::LinkPoint visa test',
18 address => '123 Anystreet',
23 email => 'ivan-linkpoint@420.am',
24 card_number => '4007000000027',
25 expiration => '12/2008',
29 $tx->test_transaction(1);
33 if($tx->is_success()) {
35 $auth = $tx->authorization;
36 warn "********* $auth ***********\n";
39 #warn '***** '. $tx->error_message. " *****\n";