NAME
Business::OnlinePayment::Litle::ErrorCodes - Business::OnlinePayment::Litle::ErrorCodes - Error code hash
VERSION
version 0.951
SYNOPSIS
use Business::OnlinePayment::Litle::ErrorCodes 'lookup';
my $result = lookup( $result_code );
# $result = { reason => ..., notes => ..., status => ... };
or
use Business::OnlinePayment::Litle::ErrorCodes '%ERRORS';
my $result = $ERRORS{ $result_code };
DESCRIPTION
This module provides a method to lookup extended codes to Litle & Co API responses
lookup CODE
Takes the result code returned in your Litle response. Returns a hashref containing three keys, reason
, status
, and notes
(which may be empty) if the lookup is successful, undef otherwise. This allows for more descriptive error messages, as well as categorization into hard and soft failure types.
NAME
Business::OnlinePayment::Litle::ErrorCodes - Map given codes with more verbose messages
AUTHOR
Jason (Jayce^) Hall <jayce@lug-nut.com>
AKNOWLEDGEMENTS
Thomas Sibley <trs@bestpractical.com> wrote the AIM module. This follows the same pattern
COPYRIGHT AND LICENSE
Copyright (c) 2010.
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.
AUTHOR
Jason Hall <jayce@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Jason Hall.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
VERSION
version 0.951