- Add repository, contributing and contirbutor information to the docs.
authorivan <ivan>
Sat, 14 Nov 2009 23:57:09 +0000 (23:57 +0000)
committerivan <ivan>
Sat, 14 Nov 2009 23:57:09 +0000 (23:57 +0000)
        - Patch from Nate Nuss <ogmoid[...]gmail.com> implementing ("Additional
          Shipping Information (Level 2 Data)" ~pg 24 in the AIM guide):
          tax, freight, duty, tax_exempt, po_number.  Thanks!

AuthorizeNet.pm
AuthorizeNet/AIM.pm
Changes

index 9646950..3ff2a46 100644 (file)
@@ -6,7 +6,7 @@ use Business::OnlinePayment;
 use vars qw($VERSION @ISA $me);
 
 @ISA = qw(Business::OnlinePayment);
-$VERSION = '3.20';
+$VERSION = '3.21_01';
 $me = 'Business::OnlinePayment::AuthorizeNet';
 
 sub set_defaults {
@@ -383,11 +383,10 @@ For the subscription actions an authorization code is never returned by
 the module.  Instead it returns the value of subscriptionId in order_number.
 This is the value to use for changing or cancelling subscriptions.
 
-Recently (February 2002), Authorize.Net has turned address
-verification on by default for all merchants.  If you do not have
-valid address information for your customer (such as in an IVR
-application), you must disable address verification in the Merchant
-Menu page at https://secure.authorize.net/ so that the transactions
+Authorize.Net has turned address verification on by default for all merchants
+since 2002.  If you do not have valid address information for your customer
+(such as in an IVR application), you must disable address verification in the
+Merchant Menu page at https://secure.authorize.net/ so that the transactions
 aren't denied due to a lack of address information.
 
 =head1 COMPATIBILITY
@@ -397,13 +396,13 @@ Method (AIM) version 3.1, formerly known as ADC Direct Response and the
 Automatic Recurring Billing version 1.0 using the XML interface.  See
 http://www.authorize.net/support/AIM_guide.pdf and http://www.authorize.net/support/ARB_guide.pdf for details.
 
-=head1 AUTHOR
+=head1 AUTHORS
 
-Jason Kohles, jason@mediabang.com
+Original author: Jason Kohles, jason@mediabang.com
 
-Ivan Kohler <ivan-authorizenet@420.am> updated it for Authorize.Net protocol
-3.0/3.1 and is the current maintainer.  Please send patches as unified diffs
-(diff -u).
+Ivan Kohler <ivan-authorizenet@freeside.biz> updated it for Authorize.Net
+protocol 3.0/3.1 and is the current maintainer.  Please see the next section
+for for information on contributing.
 
 Jason Spence <jspence@lightconsulting.com> contributed support for separate
 Authorization Only and Post Authorization steps and wrote some docs.
@@ -414,7 +413,8 @@ ARB support sponsored by Plus Three, LP. L<http://www.plusthree.com>.
 
 T.J. Mather <tjmather@maxmind.com> sent a number of CVV2 patches.
 
-Mike Barry <mbarry@cos.com> sent in a patch for the referer field.
+Mike Barry <mbarry@cos.com> sent in a patch for the referer field and a fix for
+ship_company.
 
 Yuri V. Mkrtumyan <yuramk@novosoft.ru> sent in a patch to add the void action.
 
@@ -428,7 +428,35 @@ method that returns the MD5 hash which is returned by the gateway.
 Steve Simitzis contributed a patch for better compatibility with
 eProcessingNetwork's AuthorizeNet compatability mode.
 
-=head1 REPOSITORY
+Michael G. Schwern contributed cleanups, test fixes, and more.
+
+Erik Hollensbe implemented card-present data (track1/track2), the
+duplicate_window parameter, and test fixes.
+
+Paul Timmins added the check_number field.
+
+Nate Nuss implemented the ("Additional Shipping Information (Level 2 Data)"
+fields: tax, freight, duty, tax_exempt, po_number.
+
+=head1 CONTRIBUTIONS AND REPOSITORY
+
+Please send patches as unified diffs (diff -u) to (in order of preference):
+
+=over 4
+
+=item CPAN RT
+
+http://rt.cpan.org/Public/Bug/Report.html?Queue=Business-OnlinePayment-AuthorizeNet
+
+=item The bop-devel mailing list
+
+http://420.am/cgi-bin/mailman/listinfo/bop-devel
+
+=item Ivan
+
+Ivan Kohler <ivan-authorizenet@freeside.biz>
+
+=back
 
 The code is available from our public CVS repository:
 
index c4e4b3b..36296f0 100644 (file)
@@ -124,6 +124,11 @@ sub submit {
         ship_state        => 'x_Ship_To_State',
         ship_zip          => 'x_Ship_To_Zip',
         ship_country      => 'x_Ship_To_Country',
+        tax               => 'x_Tax',
+        freight           => 'x_Freight',
+        duty              => 'x_Duty',
+        tax_exempt        => 'x_Tax_Exempt',
+        po_number         => 'x_Po_Num',
         phone             => 'x_Phone',
         fax               => 'x_Fax',
         email             => 'x_Email',
@@ -210,6 +215,7 @@ sub submit {
         x_Ship_To_Last_Name x_Ship_To_First_Name x_Ship_To_Company
         x_Ship_To_Address x_Ship_To_City x_Ship_To_State x_Ship_To_Zip
         x_Ship_To_Country
+        x_Tax x_Freight x_Duty x_Tax_Exempt x_Po_Num
         x_Phone x_Fax x_Email x_Email_Customer x_Country
         x_Currency_Code x_Trans_ID x_Duplicate_Window x_Track1 x_Track2/);
 
diff --git a/Changes b/Changes
index 9e615b3..91f462c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,7 +1,10 @@
 Revision history for Perl extension Business::OnlinePayment::AuthorizeNet.
 
 3.21  unreleased
-        - Add repo info to doco, yo
+        - Add repository, contributing and contirbutor information to the docs.
+        - Patch from Nate Nuss <ogmoid[...]gmail.com> implementing ("Additional
+          Shipping Information (Level 2 Data)" ~pg 24 in the AIM guide):
+          tax, freight, duty, tax_exempt, po_number.  Thanks!
 
 3.20  Wed Jun 18 16:46:10 PDT 2008
         - Patch from Erik Hollensbe <erikh@opensourcery.com> implementing