- Don't require "check_type" field
authorivan <ivan>
Mon, 30 Jun 2003 19:42:23 +0000 (19:42 +0000)
committerivan <ivan>
Mon, 30 Jun 2003 19:42:23 +0000 (19:42 +0000)
        - s/x_Bank_Account_Name/x_Bank_Acct_Name/ for ACH transactions

AuthorizeNet.pm
Changes

index b69d3f0..9ed5082 100644 (file)
@@ -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' ) {
diff --git a/Changes b/Changes
index e138c34..ffe9320 100644 (file)
--- a/Changes
+++ b/Changes
@@ -4,6 +4,8 @@ Revision history for Perl extension Business::OnlinePayment::AuthorizeNet.
        - removed Michael Mavroudis's email address
        - added 'void' action, patch from Yuri V. Mkrtumyan <yuramk@novosoft.ru>        - allow "Post Authorize" with order_number but no card info, patch
          from Paul Zimmer <AuthorizeNetpm@pzimmer.box.bepress.com>
+       - Don't require "check_type" field
+       - s/x_Bank_Account_Name/x_Bank_Acct_Name/ for ACH transactions
 
 3.12  Thu Nov 21 17:05:19 2002
        - Added cvv2 field, patch from T.J. Mather <tjmather@maxmind.com>