Author...orCodes(3pm)
β¨ NAME β¨
Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes β the girlies' favourite easy lookup of Authorize.Net's AIM result reason codes π
(it's a 3pm page, meaning it's Perl module documentation, in case you were wondering π«Ά)
πΈ SYNOPSIS πΈ
okay so you have two whole ways to do this, pick your fighter:
use Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes 'lookup';
my $result = lookup( $result_code );
# $result = { reason => ..., notes => ... };
or, if you're feeling like an import-an-array kind of girl:
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. no cap, that's literally its whole job. 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>). π like the gateway is giving you crumbs and the guide is giving you the full meal.
π 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.
so like:
- β
success β hashref with
reasonandnotes(notes can be empty, it's fine, it's just quiet) - π no match β
undef
π 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.
π«Ά and that's the whole page bestie, go forth and look up your error codes, you're gonna slay
okay bye this was documented with perl v5.34.0 and dated 2022-06-30, mwah πβ¨πΈ
π¦ where this page comes from
- debian bookworm: libbusiness-onlinepayment-authorizenet-perl 3.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbusiness-onlinepayment-authorizenet-perl 3.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbusiness-onlinepayment-authorizenet-perl 3.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbusiness-onlinepayment-authorizenet-perl 3.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbusiness-onlinepayment-authorizenet-perl 3.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms