1 BEGIN { $| = 1; print "1..2\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("LinkPoint",
6 'storename' => '000000',
7 'keyfile' => '/path/to/cert.pem',
8 'lbin' => '/path/to/lbin',
9 'tmp' => '/path/to/secure/tempdir',
14 action => 'Normal Authorization',
15 description => 'Business::OnlinePayment::LinkPoint visa test',
19 address => '123 Anystreet',
24 email => 'ivan-linkpoint@420.am',
25 card_number => '4007000000027',
26 expiration => '12/2005',
29 $tx->test_transaction(1);
33 if($tx->is_success()) {
35 $auth = $tx->authorization;
36 warn "********* $auth ***********\n";
39 warn '***** '. $tx->error_message. " *****\n";