diff options
author | ivan <ivan> | 2003-06-30 19:42:23 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-06-30 19:42:23 +0000 |
commit | ed92e009323eda5d523325ab2df1955509d54935 (patch) | |
tree | 503775e71eef711a0bc45cee46521faa046bd67c /AuthorizeNet.pm | |
parent | cb47790217d4900740290e0b31c7b076c4a488f4 (diff) |
- Don't require "check_type" field
- s/x_Bank_Account_Name/x_Bank_Acct_Name/ for ACH transactions
Diffstat (limited to 'AuthorizeNet.pm')
-rw-r--r-- | AuthorizeNet.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AuthorizeNet.pm b/AuthorizeNet.pm index b69d3f0..9ed5082 100644 --- a/AuthorizeNet.pm +++ b/AuthorizeNet.pm @@ -107,7 +107,7 @@ sub submit { expiration => 'x_Exp_Date', cvv2 => 'x_Card_Code', check_type => 'x_Echeck_Type', - account_name => 'x_Bank_Account_Name', + account_name => 'x_Bank_Acct_Name', account_number => 'x_Bank_Acct_Num', account_type => 'x_Bank_Acct_Type', bank_name => 'x_Bank_Name', @@ -123,12 +123,12 @@ sub submit { if ($self->{_content}->{customer_org} ne '') { $self->required_fields(qw/type login password amount routing_code account_number account_type bank_name - account_name account_type check_type + account_name account_type customer_org customer_ssn/); } else { $self->required_fields(qw/type login password amount routing_code account_number account_type bank_name - account_name account_type check_type + account_name account_type license_num license_state license_dob/); } } elsif ($self->transaction_type() eq 'CC' ) { |