1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("StGeorge",
6 # 'cert_path' => './java.cert',
7 'cert_path' => '/home/ivan/Business-OnlinePayment-StGeorge/t2/java.cert',
12 password => 'cretphrase',
14 action => 'Normal Authorization',
15 description => 'Business::OnlinePayment::LinkPoint visa test',
19 address => '123 Anystreet',
24 email => 'ivan-stgeorge@420.am',
25 card_number => '4564456445644564',
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";