1 BEGIN { $| = 1; print "1..1\n"; }
3 use Business::OnlinePayment;
5 my $tx = new Business::OnlinePayment("IPaymentTPG",
9 login => 'testing', #CHANGE THESE TO TEST
10 password => 'testing',
12 action => 'Normal Authorization',
13 description => 'Business::OnlinePayment::IPaymentTPG visa test',
17 address => '123 Anystreet',
22 email => 'ivan-linkpoint@420.am',
23 # card_number => '4007000000027',
24 card_number => '0000000000000',
25 expiration => '12/2002',
29 $tx->test_transaction(1);
33 if($tx->is_success()) {
35 $auth = $tx->authorization;
36 warn "********* $auth ***********\n";
39 warn '***** '. $tx->error_message. " *****\n";