1 BEGIN { $| = 1; print "1..1\n"; }
3 #testing/testing is valid and seems to work...
4 #print "ok 1 # Skipped: need a valid iPayment login/password to test\n"; exit;
6 use Business::OnlinePayment;
8 my $tx = new Business::OnlinePayment("IPaymentTPG");
10 login => 'testing', #CHANGE THESE TO TEST
11 password => 'testing', #
13 action => 'Normal Authorization',
14 description => 'Business::OnlinePayment visa test',
16 invoice_number => '100100',
20 address => '123 Anystreet',
24 card_number => '4007000000027',
25 expiration => '08/06',
27 $tx->test_transaction(1); # test, dont really charge
30 if($tx->is_success()) {
33 #warn $tx->error_message;