Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes

Name Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes
Version 0.01
Located at /usr/share/perl5
File /usr/share/perl5/Business/OnlinePayment/AuthorizeNet/AIM/ErrorCodes.pm
Is Core No
Search CPAN for this module Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes
Documentation Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes
Module Details Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes

NAME

Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes - Easy lookup of Authorize.Net's AIM result reason codes


SYNOPSIS

    use Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes 'lookup';
    my $result = lookup( $result_code );
    # $result = { reason => ..., notes => ... };

or

    use Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes '%ERRORS';
    my $result = $ERRORS{ $result_code };


DESCRIPTION

This module exists to lookup the textual descriptions of errors returned by Authorize.Net's AIM submission method. The error messages returned in the gateway's response are often not as useful as those in Authorize.Net's AIM guide (http://www.authorize.net/support/AIM_guide.pdf).

lookup CODE

Takes the result code returned by Authorize.Net's AIM gateway. Returns a hashref containing two keys, reason and notes (which may be empty) if the lookup is successful, undef otherwise.


AUTHOR

Thomas Sibley <trs@bestpractical.com>


COPYRIGHT AND LICENSE

Copyright (c) 2008.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026