use vars qw($VERSION @ISA $me);
@ISA = qw(Business::OnlinePayment);
-$VERSION = '3.22';
+$VERSION = '3.23';
$me = 'Business::OnlinePayment::AuthorizeNet';
sub set_defaults {
amount => '49.95',
invoice_number => '100100',
customer_id => 'jsk',
+ email => 'jason@example.com',
first_name => 'Jason',
last_name => 'Kohles',
address => '123 Anystreet',
city => 'Anywhere',
state => 'UT',
zip => '84058',
+ country => 'US',
card_number => '4007000000027',
expiration => '09/02',
cvv2 => '1234', #optional
amount => '49.95',
invoice_number => '100100',
customer_id => 'jsk',
+ email => 'jason@example.com',
first_name => 'Jason',
last_name => 'Kohles',
address => '123 Anystreet',
city => 'Anywhere',
state => 'UT',
zip => '84058',
+ country => 'US',
card_number => '4007000000027',
expiration => '09/02',
cvv2 => '1234', #optional
Use your transaction key in the password field.
-Unlike Business::OnlinePayment or pre-3.0 verisons of
+Unlike Business::OnlinePayment or pre-3.0 versions of
Business::OnlinePayment::AuthorizeNet, 3.1 requires separate first_name and
last_name fields.
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.
+eProcessingNetwork's AuthorizeNet compatibility mode.
Michael G. Schwern contributed cleanups, test fixes, and more.
Michael Peters fixed a bug in email address handling.
+Thomas Sibley <trs@bestpractical.com> wrote B:OP:AuthorizeNet::AIM::ErrorCodes
+which was borged and used to provide more descriptive error messages.
+
+Craig Pearlman <cpearlma@yahoo.com> sent in a patch to more accurately declare
+required fields for E-check transcations.
+
=head1 CONTRIBUTIONS AND REPOSITORY
Please send patches as unified diffs (diff -u) to (in order of preference):
http://freeside.biz/cgi-bin/viewvc.cgi/Business-OnlinePayment-AuthorizeNet/
+=head1 A WORD FROM OUR SPONSOR
+
+This module and the Business::OnlinePayment framework are maintained by by
+Freeside Internet Services. If you need a complete, open-source web-based
+application to manage your customers, billing and trouble ticketing, please
+visit http://freeside.biz/
+
+=head1 COPYRIGHT & LICENSE
+
+Copyright 2010 Freeside Internet Services, Inc.
+Copyright 2008 Thomas Sibley
+All rights reserved.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
=head1 SEE ALSO
perl(1). L<Business::OnlinePayment>.