}
my $type = lc($content{'type'});
- if ( $type eq 'echeck' ) {
+ if ( $type eq 'check' ) {
} else {
croak "$type not (yet) supported";
}
my $tx = new Business::OnlinePayment("Jettis");
$tx->content(
- type => 'ECHECK',
+ type => 'CHECK',
login => 'test', #ClientID
action => 'Normal Authorization',
description => 'Business::OnlinePayment test',
amount => '49.95',
invoice_number => '100100',
name => 'Tofu Beast',
- card_number => '4007000000027',
- expiration => '09/02',
+ account_number => '12345',
+ routing_code => '123456789',
+ bank_name => 'First National Test Bank',
);
$tx->submit();
=head1 NOTE
-This module only implements 'ECHECK' (ACH) functionality at this time. Credit
+This module only implements 'CHECK' (ACH) functionality at this time. Credit
card transactions are not (yet) supported.
=head1 COMPATIBILITY