1 # vim:set syntax=perl encoding=utf-8:
3 # Check for case-insensitivity and CC support in type
5 use constant TYPES => ('Visa', 'viSa', 'CC');
7 use Test::More tests => 1 + TYPES;
9 BEGIN { use_ok('Business::OnlinePayment') };
11 my $txn = new Business::OnlinePayment 'InternetSecure', merchant_id => '0000';
13 foreach my $type (TYPES) {
15 action => 'Normal Authorization',
18 card_number => '5111-1111-1111-1111',
24 # This will fail if type is not recognized