diff options
author | jeff <jeff> | 2006-11-24 20:06:10 +0000 |
---|---|---|
committer | jeff <jeff> | 2006-11-24 20:06:10 +0000 |
commit | 81b70c0b32cad00e9acc3580d454d889f1100160 (patch) | |
tree | e6213cc7f4931dd4099757349995ee1b53c9952b | |
parent | 2d5dbf9948964188d7b27fef31559914126defae (diff) |
try not requiring invoice numbers
-rw-r--r-- | USAePay.pm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -96,7 +96,8 @@ sub submit { my @required_fields = qw(type action login); if ($self->transaction_type() eq 'CC' ) { - push @required_fields, qw/card_number expiration amount invoice_number name address zip/; +# push @required_fields, qw/card_number expiration amount invoice_number name address zip/; + push @required_fields, qw/card_number expiration amount name address zip/; if ($self->{_content}->{action} eq 'postauth') { push @required_fields, qw/authorization/; } @@ -105,7 +106,8 @@ sub submit { push @required_fields, qw/order_number/; } }elsif ($self->transaction_type() eq 'ECHECK' ) { - push @required_fields, qw/routing_code account_number amount invoice_number name customer_ssn/; +# push @required_fields, qw/routing_code account_number amount invoice_number name customer_ssn/; + push @required_fields, qw/routing_code account_number amount name customer_ssn/; } else { croak("USAePay can't handle transaction type: ". $self->transaction_type()); |