File Coverage

blib/lib/Business/OnlinePayment/AuthorizeNet/AIM/ErrorCodes.pm
Criterion Covered Total %
statement 15 15 100.0
branch 2 2 100.0
condition 1 3 33.3
subroutine 5 5 100.0
pod 1 1 100.0
total 24 26 92.3


line stmt bran cond sub pod time code
1             package Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes;
2              
3 2     2   2141 use strict;
  2         6  
  2         75  
4 2     2   12 use warnings;
  2         3  
  2         71  
5              
6 2     2   19 use Exporter 'import';
  2         2  
  2         79  
7 2     2   11 use vars qw(@EXPORT_OK $VERSION);
  2         4  
  2         3980  
8              
9             @EXPORT_OK = qw(lookup %ERRORS);
10             $VERSION = '0.01';
11              
12             =head1 NAME
13              
14             Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes - Easy lookup of Authorize.Net's AIM result reason codes
15              
16             =head1 SYNOPSIS
17              
18             use Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes 'lookup';
19             my $result = lookup( $result_code );
20             # $result = { reason => ..., notes => ... };
21              
22             or
23              
24             use Business::OnlinePayment::AuthorizeNet::AIM::ErrorCodes '%ERRORS';
25             my $result = $ERRORS{ $result_code };
26              
27             =head1 DESCRIPTION
28              
29             This module exists to lookup the textual descriptions of errors returned by
30             Authorize.Net's AIM submission method. The error messages returned in the
31             gateway's response are often not as useful as those in Authorize.Net's AIM
32             guide (L).
33              
34             =head2 lookup CODE
35              
36             Takes the result code returned by Authorize.Net's AIM gateway. Returns a
37             hashref containing two keys, C and C (which may be empty) if
38             the lookup is successful, undef otherwise.
39              
40             =head1 AUTHOR
41              
42             Thomas Sibley
43              
44             =head1 COPYRIGHT AND LICENSE
45              
46             Copyright (c) 2008.
47              
48             This library is free software; you can redistribute it and/or modify
49             it under the same terms as Perl itself, either Perl version 5.8.3 or,
50             at your option, any later version of Perl 5 you may have available.
51              
52             =cut
53              
54             our %ERRORS;
55              
56             sub lookup {
57 2     2 1 749 my $code = shift;
58 2 100 33     13 return if not $code or not defined $ERRORS{$code};
59 1         8 return $ERRORS{$code};
60             }
61              
62             %ERRORS = (
63             '127' => {
64             'notes' => 'The system-generated void for the original AVS-rejected transaction failed.',
65             'reason' => 'The transaction resulted in an AVS mismatch. The address provided does not match billing address of cardholder.'
66             },
67             '32' => {
68             'notes' => '',
69             'reason' => 'This reason code is reserved or not applicable to this API.'
70             },
71             '90' => {
72             'notes' => '',
73             'reason' => 'This reason code is reserved or not applicable to this API.'
74             },
75             '206' => {
76             'notes' => 'This error code applies only to merchants on FDC Omaha. The merchant is not on file.',
77             'reason' => 'This transaction has been declined.'
78             },
79             '118' => {
80             'notes' => 'This code is applicable only to merchants that include the x_authentication_indicator and x_authentication_value in the transaction request. The combination of authentication indicator and cardholder authentication value for a Visa or MasterCard transaction is invalid.',
81             'reason' => 'The combination of authentication indicator and cardholder authentication value is invalid.'
82             },
83             '71' => {
84             'notes' => 'The value submitted in x_bank_acct_type was invalid.',
85             'reason' => 'The bank account type is invalid.'
86             },
87             '102' => {
88             'notes' => 'A password or transaction key was submitted with this WebLink request. This is a high security risk.',
89             'reason' => 'This request cannot be accepted.'
90             },
91             '200' => {
92             'notes' => 'This error code applies only to merchants on FDC Omaha. The credit card number is invalid.',
93             'reason' => 'This transaction has been declined.'
94             },
95             '18' => {
96             'notes' => 'The merchant does not accept electronic checks.',
97             'reason' => 'ACH transactions are not accepted by this merchant.'
98             },
99             '16' => {
100             'notes' => 'The transaction ID sent in was properly formatted but the gateway had no record of the transaction.',
101             'reason' => 'The transaction was not found.'
102             },
103             '44' => {
104             'notes' => 'The merchant would receive this error if the Card Code filter has been set in the Merchant Interface and the transaction received an error code from the processor that matched the rejection criteria set by the merchant.',
105             'reason' => 'This transaction has been declined.'
106             },
107             '55' => {
108             'notes' => 'The transaction is rejected if the sum of this credit and prior credits exceeds the original debit amount.',
109             'reason' => 'The sum of credits against the referenced transaction would exceed the original debit amount.'
110             },
111             '84' => {
112             'notes' => '',
113             'reason' => 'This reason code is reserved or not applicable to this API.'
114             },
115             '27' => {
116             'notes' => '',
117             'reason' => 'The transaction resulted in an AVS mismatch. The address provided does not match billing address of cardholder.'
118             },
119             '95' => {
120             'notes' => 'This code is applicable to Wells Fargo SecureSource merchants only.',
121             'reason' => 'A valid state is required.'
122             },
123             '57' => {
124             'notes' => '',
125             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
126             },
127             '220' => {
128             'notes' => 'This error code applies only to merchants on FDC Omaha. The primary CPU is not available.',
129             'reason' => 'This transaction has been declined.'
130             },
131             '20' => {
132             'notes' => '',
133             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
134             },
135             '243' => {
136             'notes' => 'The combination of values submitted for x_recurring_billing and x_echeck_type is not allowed.',
137             'reason' => 'Recurring billing is not allowed for this eCheck.Net type.'
138             },
139             '109' => {
140             'notes' => 'Applicable only to eCheck. The values submitted for first name and last name failed validation.',
141             'reason' => 'This transaction is currently under review.'
142             },
143             '89' => {
144             'notes' => '',
145             'reason' => 'This reason code is reserved or not applicable to this API.'
146             },
147             '175' => {
148             'notes' => 'Concord EFS Ð This transaction is not allowed. The Concord EFS processing platform does not support voiding credit transactions. Please debit the credit card instead of voiding the credit.',
149             'reason' => 'The processor does not allow voiding of credits.'
150             },
151             '31' => {
152             'notes' => 'The merchant was incorrectly set up at the processor.',
153             'reason' => 'The FDC Merchant ID or Terminal ID is incorrect. Call Merchant Service Provider.'
154             },
155             '35' => {
156             'notes' => 'The merchant was incorrectly set up at the processor.',
157             'reason' => 'An error occurred during processing. Call Merchant Service Provider.'
158             },
159             '11' => {
160             'notes' => 'A transaction with identical amount and credit card information was submitted two minutes prior.',
161             'reason' => 'A duplicate transaction has been submitted.'
162             },
163             '208' => {
164             'notes' => 'This error code applies only to merchants on FDC Omaha. The merchant is not on file.',
165             'reason' => 'This transaction has been declined.'
166             },
167             '78' => {
168             'notes' => 'The value submitted in x_card_code failed format validation.',
169             'reason' => 'The Card Code (CVV2/CVC2/CID) is invalid.'
170             },
171             '93' => {
172             'notes' => 'This code is applicable to Wells Fargo SecureSource merchants only. Country is a required field and must contain the value of a supported country.',
173             'reason' => 'A valid country is required.'
174             },
175             '106' => {
176             'notes' => 'Applicable only to eCheck. The value submitted for company failed validation.',
177             'reason' => 'This transaction is currently under review.'
178             },
179             '65' => {
180             'notes' => 'The transaction was declined because the merchant configured their account through the Merchant Interface to reject transactions with certain values for a Card Code mismatch.',
181             'reason' => 'This transaction has been declined.'
182             },
183             '29' => {
184             'notes' => '',
185             'reason' => 'The PaymentTech identification numbers are incorrect. Call Merchant Service Provider.'
186             },
187             '203' => {
188             'notes' => 'This error code applies only to merchants on FDC Omaha. The value submitted in the amount field is invalid.',
189             'reason' => 'This transaction has been declined.'
190             },
191             '261' => {
192             'notes' => 'The transaction experienced an error during sensitive data encryption and was not processed. Please try again.',
193             'reason' => 'An error occurred during processing. Please try again.'
194             },
195             '58' => {
196             'notes' => '',
197             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
198             },
199             '211' => {
200             'notes' => 'This error code applies only to merchants on FDC Omaha. The cardholder is not on file.',
201             'reason' => 'This transaction has been declined.'
202             },
203             '15' => {
204             'notes' => 'The transaction ID value is non-numeric or was not present for a transaction that requires it (i.e., VOID, PRIOR_AUTH_CAPTURE, and CREDIT).',
205             'reason' => 'The transaction ID is invalid.'
206             },
207             '81' => {
208             'notes' => 'The merchant requested an integration method not compatible with the AIM API.',
209             'reason' => 'The requested form type is invalid.'
210             },
211             '60' => {
212             'notes' => '',
213             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
214             },
215             '101' => {
216             'notes' => 'Applicable only to eCheck. The specified name on the account and/or the account type do not match the NOC record for this account.',
217             'reason' => 'The given name on the account and/or the account type does not match the actual account.'
218             },
219             '73' => {
220             'notes' => 'The format of the value submitted in x_drivers_license_num was invalid.',
221             'reason' => 'The driverÕs license date of birth is invalid.'
222             },
223             '86' => {
224             'notes' => '',
225             'reason' => 'This reason code is reserved or not applicable to this API.'
226             },
227             '76' => {
228             'notes' => 'The value submitted in x_tax failed format validation.',
229             'reason' => 'The tax amount is invalid.'
230             },
231             '62' => {
232             'notes' => '',
233             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
234             },
235             '247' => {
236             'notes' => 'The combination of values submitted for x_type and x_echeck_type is not allowed.',
237             'reason' => 'This eCheck.Net type is not allowed.'
238             },
239             '67' => {
240             'notes' => 'This error code is applicable to merchants using the Wells Fargo SecureSource product only. This product does not allow transactions of type CAPTURE_ONLY.',
241             'reason' => 'The given transaction type is not supported for this merchant.'
242             },
243             '204' => {
244             'notes' => 'This error code applies only to merchants on FDC Omaha. The department code is invalid.',
245             'reason' => 'This transaction has been declined.'
246             },
247             '165' => {
248             'notes' => 'The system-generated void for the original card code-rejected transaction failed.',
249             'reason' => 'This transaction has been declined.'
250             },
251             '2' => {
252             'notes' => '',
253             'reason' => 'This transaction has been declined.'
254             },
255             '17' => {
256             'notes' => 'The merchant was not configured to accept the credit card submitted in the transaction.',
257             'reason' => 'The merchant does not accept this type of credit card.'
258             },
259             '110' => {
260             'notes' => 'Applicable only to eCheck. The value submitted for bank account name does not contain valid characters.',
261             'reason' => 'This transaction is currently under review.'
262             },
263             '82' => {
264             'notes' => 'The system no longer supports version 2.5; requests cannot be posted to scripts.',
265             'reason' => 'Scripts are only supported in version 2.5.'
266             },
267             '218' => {
268             'notes' => 'This error code applies only to merchants on FDC Omaha. The PIN block format or PIN availability value is invalid.',
269             'reason' => 'This transaction has been declined.'
270             },
271             '202' => {
272             'notes' => 'This error code applies only to merchants on FDC Omaha. The transaction type is invalid.',
273             'reason' => 'This transaction has been declined.'
274             },
275             '14' => {
276             'notes' => 'The Relay Response or Referrer URL does not match the merchantÕs configured value(s) or is absent. Applicable only to SIM and WebLink APIs.',
277             'reason' => 'The Referrer or Relay Response URL is invalid.'
278             },
279             '112' => {
280             'notes' => 'This code is applicable to Wells Fargo SecureSource merchants only.',
281             'reason' => 'A valid billing state/province is required.'
282             },
283             '69' => {
284             'notes' => 'The value submitted in x_type was invalid.',
285             'reason' => 'The transaction type is invalid.'
286             },
287             '172' => {
288             'notes' => 'Concord EFS Ð The store ID is invalid.',
289             'reason' => 'An error occurred during processing. Please contact the merchant.'
290             },
291             '145' => {
292             'notes' => 'The system-generated void for the original card code-rejected and AVS-rejected transaction failed.',
293             'reason' => 'This transaction has been declined.'
294             },
295             '49' => {
296             'notes' => 'The transaction amount submitted was greater than the maximum amount allowed.',
297             'reason' => 'A transaction amount greater than $[amount] will not be accepted.'
298             },
299             '24' => {
300             'notes' => '',
301             'reason' => 'The Nova Bank Number or Terminal ID is incorrect. Call Merchant Service Provider.'
302             },
303             '224' => {
304             'notes' => 'This error code applies only to merchants on FDC Omaha. Please re-enter the transaction.',
305             'reason' => 'This transaction has been declined.'
306             },
307             '223' => {
308             'notes' => 'This error code applies only to merchants on FDC Omaha. This transaction experienced an unspecified error.',
309             'reason' => 'This transaction has been declined.'
310             },
311             '104' => {
312             'notes' => 'Applicable only to eCheck. The value submitted for country failed validation.',
313             'reason' => 'This transaction is currently under review.'
314             },
315             '131' => {
316             'notes' => 'IFT: The payment gateway account status is Suspended-STA.',
317             'reason' => 'This transaction cannot be accepted at this time.'
318             },
319             '181' => {
320             'notes' => 'The system-generated void for the original invalid transaction failed. (The original transaction included an invalid processor response format.)',
321             'reason' => 'An error occurred during processing. Please try again.'
322             },
323             '121' => {
324             'notes' => 'The system-generated void for the original errored transaction failed. (The original transaction experienced a database error.)',
325             'reason' => 'An error occurred during processing. Please try again.'
326             },
327             '79' => {
328             'notes' => 'The value submitted in x_drivers_license_num failed format validation.',
329             'reason' => 'The driverÕs license number is invalid.'
330             },
331             '212' => {
332             'notes' => 'This error code applies only to merchants on FDC Omaha. The bank configuration is not on file',
333             'reason' => 'This transaction has been declined.'
334             },
335             '23' => {
336             'notes' => '',
337             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
338             },
339             '96' => {
340             'notes' => 'This code is applicable to Wells Fargo SecureSource merchants only. Country is a required field and must contain the value of a supported country.',
341             'reason' => 'This country is not authorized for buyers.'
342             },
343             '251' => {
344             'notes' => 'The transaction was declined as a result of triggering a Fraud Detection Suite filter.',
345             'reason' => 'This transaction has been declined.'
346             },
347             '253' => {
348             'notes' => 'The transaction was accepted and was authorized, but is being held for merchant review. The merchant may customize the customer response in the Merchant Interface.',
349             'reason' => 'Your order has been received. Thank you for your business!'
350             },
351             '47' => {
352             'notes' => 'This occurs if the merchant tries to capture funds greater than the amount of the original authorization-only transaction.',
353             'reason' => 'The amount requested for settlement may not be greater than the original amount authorized.'
354             },
355             '8' => {
356             'notes' => '',
357             'reason' => 'The credit card has expired.'
358             },
359             '209' => {
360             'notes' => 'This error code applies only to merchants on FDC Omaha. Communication with the processor could not be established.',
361             'reason' => 'This transaction has been declined.'
362             },
363             '98' => {
364             'notes' => 'Applicable only to SIM API. The transaction fingerprint has already been used.',
365             'reason' => 'This transaction cannot be accepted.'
366             },
367             '216' => {
368             'notes' => 'This error code applies only to merchants on FDC Omaha. The ATM term ID is invalid.',
369             'reason' => 'This transaction has been declined.'
370             },
371             '37' => {
372             'notes' => '',
373             'reason' => 'The credit card number is invalid.'
374             },
375             '117' => {
376             'notes' => 'This code is applicable only to merchants that include the x_cardholder_authentication_value in the transaction request. The CAVV for a Visa transaction; or the AVV/UCAF for a MasterCard transaction is invalid.',
377             'reason' => 'The cardholder authentication value is invalid.'
378             },
379             '43' => {
380             'notes' => 'The merchant was incorrectly set up at the processor.',
381             'reason' => 'The merchant was incorrectly set up at the processor. Call your Merchant Service Provider.'
382             },
383             '270' => {
384             'notes' => 'A value submitted in x_line_item for the item referenced is invalid.',
385             'reason' => 'The line item [item number] is invalid.'
386             },
387             '5' => {
388             'notes' => 'The value submitted in the amount field did not pass validation for a number.',
389             'reason' => 'A valid amount is required.'
390             },
391             '170' => {
392             'notes' => 'Concord EFS Ð Provisioning at the processor has not been completed.',
393             'reason' => 'An error occurred during processing. Please contact the merchant.'
394             },
395             '33' => {
396             'notes' => 'The word FIELD will be replaced by an actual field name. This error indicates that a field the merchant specified as required was not filled in.',
397             'reason' => 'FIELD cannot be left blank.'
398             },
399             '21' => {
400             'notes' => '',
401             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
402             },
403             '63' => {
404             'notes' => '',
405             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
406             },
407             '7' => {
408             'notes' => 'The format of the date submitted was incorrect.',
409             'reason' => 'The credit card expiration date is invalid.'
410             },
411             '26' => {
412             'notes' => '',
413             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
414             },
415             '80' => {
416             'notes' => 'The value submitted in x_drivers_license_state failed format validation.',
417             'reason' => 'The driverÕs license state is invalid.'
418             },
419             '193' => {
420             'notes' => 'The transaction was placed under review by the risk management system.',
421             'reason' => 'The transaction is currently under review.'
422             },
423             '119' => {
424             'notes' => 'This code is applicable only to merchants that include the x_authentication_indicator and x_recurring_billing in the transaction request. Transactions submitted with a value in x_authentication_indicator AND x_recurring_billing =YES will be rejected.',
425             'reason' => 'Transactions having cardholder authentication values cannot be marked as recurring.'
426             },
427             '180' => {
428             'notes' => 'The processor response format is invalid.',
429             'reason' => 'An error occurred during processing. Please try again.'
430             },
431             '99' => {
432             'notes' => 'Applicable only to SIM API. The server-generated fingerprint does not match the merchant-specified fingerprint in the x_fp_hash field.',
433             'reason' => 'This transaction cannot be accepted.'
434             },
435             '244' => {
436             'notes' => 'The combination of values submitted for x_bank_acct_type and x_echeck_type is not allowed.',
437             'reason' => 'This eCheck.Net type is not allowed for this Bank Account Type.'
438             },
439             '72' => {
440             'notes' => 'The value submitted in x_auth_code was more than six characters in length.',
441             'reason' => 'The authorization code is invalid.'
442             },
443             '246' => {
444             'notes' => 'The merchantÕs payment gateway account is not enabled to submit the eCheck.Net type.',
445             'reason' => 'This eCheck.Net type is not allowed.'
446             },
447             '74' => {
448             'notes' => 'The value submitted in x_duty failed format validation.',
449             'reason' => 'The duty amount is invalid.'
450             },
451             '61' => {
452             'notes' => '',
453             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
454             },
455             '108' => {
456             'notes' => 'Applicable only to eCheck. The values submitted for first name and last name failed validation.',
457             'reason' => 'This transaction is currently under review.'
458             },
459             '92' => {
460             'notes' => '',
461             'reason' => 'The gateway no longer supports the requested method of integration.'
462             },
463             '103' => {
464             'notes' => 'A valid fingerprint, transaction key, or password is required for this transaction.',
465             'reason' => 'This transaction cannot be accepted.'
466             },
467             '201' => {
468             'notes' => 'This error code applies only to merchants on FDC Omaha. The expiration date is invalid.',
469             'reason' => 'This transaction has been declined.'
470             },
471             '10' => {
472             'notes' => 'The value submitted in the x_bank_acct_num field did not pass validation.',
473             'reason' => 'The account number is invalid.'
474             },
475             '152' => {
476             'notes' => 'The system-generated void for the original transaction failed. The response for the original transaction could not be communicated to the client.',
477             'reason' => 'The transaction was authorized, but the client could not be notified; the transaction will not be settled.'
478             },
479             '207' => {
480             'notes' => 'This error code applies only to merchants on FDC Omaha. The merchant account is closed.',
481             'reason' => 'This transaction has been declined.'
482             },
483             '91' => {
484             'notes' => '',
485             'reason' => 'Version 2.5 is no longer supported.'
486             },
487             '48' => {
488             'notes' => 'The merchant attempted to settle for less than the originally authorized amount.',
489             'reason' => 'This processor does not accept partial reversals.'
490             },
491             '107' => {
492             'notes' => 'Applicable only to eCheck. The value submitted for bank account name failed validation.',
493             'reason' => 'This transaction is currently under review.'
494             },
495             '87' => {
496             'notes' => '',
497             'reason' => 'This reason code is reserved or not applicable to this API.'
498             },
499             '174' => {
500             'notes' => 'Concord EFS Ð This transaction type is not accepted by the processor.',
501             'reason' => 'The transaction type is invalid. Please contact the merchant.'
502             },
503             '77' => {
504             'notes' => 'The value submitted in x_customer_tax_id failed validation.',
505             'reason' => 'The SSN or tax ID is invalid.'
506             },
507             '214' => {
508             'notes' => 'This error code applies only to merchants on FDC Omaha. This function is currently unavailable.',
509             'reason' => 'This transaction has been declined.'
510             },
511             '123' => {
512             'notes' => 'The transaction request must include the API login ID associated with the payment gateway account.',
513             'reason' => 'This account has not been given the permission(s) required for this request.'
514             },
515             '221' => {
516             'notes' => 'This error code applies only to merchants on FDC Omaha. The SE number is invalid.',
517             'reason' => 'This transaction has been declined.'
518             },
519             '50' => {
520             'notes' => 'Credits or refunds may only be performed against settled transactions. The transaction against which the credit/refund was submitted has not been settled, so a credit cannot be issued.',
521             'reason' => 'This transaction is awaiting settlement and cannot be refunded.'
522             },
523             '39' => {
524             'notes' => '',
525             'reason' => 'The supplied currency code is either invalid, not supported, not allowed for this merchant or doesnÕt have an exchange rate.'
526             },
527             '210' => {
528             'notes' => 'This error code applies only to merchants on FDC Omaha. The merchant type is incorrect.',
529             'reason' => 'This transaction has been declined.'
530             },
531             '64' => {
532             'notes' => 'This error is applicable to Wells Fargo SecureSource merchants only. Credits or refunds cannot be issued against transactions that were not authorized.',
533             'reason' => 'The referenced transaction was not approved.'
534             },
535             '97' => {
536             'notes' => 'Applicable only to SIM API. Fingerprints are only valid for a short period of time. This code indicates that the transaction fingerprint has expired.',
537             'reason' => 'This transaction cannot be accepted.'
538             },
539             '12' => {
540             'notes' => 'A transaction that required x_auth_code to be present was submitted without a value.',
541             'reason' => 'An authorization code is required but not present.'
542             },
543             '41' => {
544             'notes' => 'Only merchants set up for the FraudScreen.Net service would receive this decline. This code will be returned if a given transactionÕs fraud score is higher than the threshold set by the merchant.',
545             'reason' => 'This transaction has been declined.'
546             },
547             '52' => {
548             'notes' => '',
549             'reason' => 'The transaction was authorized, but the client could not be notified; the transaction will not be settled.'
550             },
551             '173' => {
552             'notes' => 'Concord EFS Ð The store key is invalid.',
553             'reason' => 'An error occurred during processing. Please contact the merchant.'
554             },
555             '56' => {
556             'notes' => 'The merchant processes eCheck transactions only and does not accept credit cards.',
557             'reason' => 'This merchant accepts ACH transactions only; no credit card transactions are accepted.'
558             },
559             '45' => {
560             'notes' => 'This error would be returned if the transaction received a code from the processor that matched the rejection criteria set by the merchant for both the AVS and Card Code filters.',
561             'reason' => 'This transaction has been declined.'
562             },
563             '66' => {
564             'notes' => 'The transaction did not meet gateway security guidelines.',
565             'reason' => 'This transaction cannot be accepted for processing.'
566             },
567             '19' => {
568             'notes' => '',
569             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
570             },
571             '54' => {
572             'notes' => '',
573             'reason' => 'The referenced transaction does not meet the criteria for issuing a credit.'
574             },
575             '70' => {
576             'notes' => 'The value submitted in x_method was invalid.',
577             'reason' => 'The transaction method is invalid.'
578             },
579             '68' => {
580             'notes' => 'The value submitted in x_version was invalid.',
581             'reason' => 'The version parameter is invalid.'
582             },
583             '1' => {
584             'notes' => '',
585             'reason' => 'This transaction has been approved.'
586             },
587             '88' => {
588             'notes' => '',
589             'reason' => 'This reason code is reserved or not applicable to this API.'
590             },
591             '116' => {
592             'notes' => 'This code is applicable only to merchants that include the x_authentication_indicator in the transaction request. The ECI value for a Visa transaction; or the UCAF indicator for a MasterCard transaction submitted in the x_authentication_indicator field is invalid.',
593             'reason' => 'The authentication indicator is invalid.'
594             },
595             '30' => {
596             'notes' => '',
597             'reason' => 'The configuration with the processor is invalid. Call Merchant Service Provider.'
598             },
599             '141' => {
600             'notes' => 'The system-generated void for the original FraudScreen-rejected transaction failed.',
601             'reason' => 'This transaction has been declined.'
602             },
603             '100' => {
604             'notes' => 'Applicable only to eCheck. The value specified in the x_echeck_type field is invalid.',
605             'reason' => 'The eCheck type is invalid.'
606             },
607             '222' => {
608             'notes' => 'This error code applies only to merchants on FDC Omaha. Duplicate auth request (from INAS).',
609             'reason' => 'This transaction has been declined.'
610             },
611             '25' => {
612             'notes' => '',
613             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
614             },
615             '128' => {
616             'notes' => 'The customer\'s financial institution does not currently allow transactions for this account.',
617             'reason' => 'This transaction cannot be processed.'
618             },
619             '252' => {
620             'notes' => 'The transaction was accepted, but is being held for merchant review. The merchant may customize the customer response in the Merchant Interface.',
621             'reason' => 'Your order has been received. Thank you for your business!'
622             },
623             '28' => {
624             'notes' => 'The Merchant ID at the processor was not configured to accept this card type.',
625             'reason' => 'The merchant does not accept this type of credit card.'
626             },
627             '120' => {
628             'notes' => 'The system-generated void for the original timed-out transaction failed. (The original transaction timed out while waiting for a response from the authorizer.)',
629             'reason' => 'An error occurred during processing. Please try again.'
630             },
631             '40' => {
632             'notes' => '',
633             'reason' => 'This transaction must be encrypted.'
634             },
635             '75' => {
636             'notes' => 'The value submitted in x_freight failed format validation.',
637             'reason' => 'The freight amount is invalid.'
638             },
639             '83' => {
640             'notes' => 'The system no longer supports version 2.5; requests cannot be posted to scripts.',
641             'reason' => 'The requested script is either invalid or no longer supported.'
642             },
643             '250' => {
644             'notes' => 'This transaction was submitted from a blocked IP address.',
645             'reason' => 'This transaction has been declined.'
646             },
647             '59' => {
648             'notes' => '',
649             'reason' => 'An error occurred in processing. Please try again in 5 minutes.'
650             },
651             '254' => {
652             'notes' => 'The transaction was declined after manual review.',
653             'reason' => 'Your transaction has been declined.'
654             },
655             '215' => {
656             'notes' => 'This error code applies only to merchants on FDC Omaha. The encrypted PIN field format is invalid.',
657             'reason' => 'This transaction has been declined.'
658             },
659             '271' => {
660             'notes' => 'The number of line items submitted in x_line_item exceeds the allowed maximum of 30.',
661             'reason' => 'The number of line items submitted is not allowed. A maximum of 30 line items can be submitted.'
662             },
663             '130' => {
664             'notes' => 'IFT: The payment gateway account status is Blacklisted.',
665             'reason' => 'This payment gateway account has been closed.'
666             },
667             '217' => {
668             'notes' => 'This error code applies only to merchants on FDC Omaha. This transaction experienced a general message format problem.',
669             'reason' => 'This transaction has been declined.'
670             },
671             '53' => {
672             'notes' => 'If x_method = ECHECK, x_type cannot be set to CAPTURE_ONLY.',
673             'reason' => 'The transaction type was invalid for ACH transactions.'
674             },
675             '245' => {
676             'notes' => 'The value submitted for x_echeck_type is not allowed when using the payment gateway hosted payment form.',
677             'reason' => 'This eCheck.Net type is not allowed when using the payment gateway hosted payment form.'
678             },
679             '122' => {
680             'notes' => 'The system-generated void for the original errored transaction failed. (The original transaction experienced a processing error.)',
681             'reason' => 'An error occurred during processing. Please try again.'
682             },
683             '205' => {
684             'notes' => 'This error code applies only to merchants on FDC Omaha. The value submitted in the merchant number field is invalid.',
685             'reason' => 'This transaction has been declined.'
686             },
687             '42' => {
688             'notes' => 'This is applicable only to merchants processing through the Wells Fargo SecureSource product who have requirements for transaction submission that are different from merchants not processing through Wells Fargo.',
689             'reason' => 'There is missing or invalid information in a required field.'
690             },
691             '22' => {
692             'notes' => '',
693             'reason' => 'An error occurred during processing. Please try again in 5 minutes.'
694             },
695             '219' => {
696             'notes' => 'This error code applies only to merchants on FDC Omaha. The ETC void is unmatched.',
697             'reason' => 'This transaction has been declined.'
698             },
699             '46' => {
700             'notes' => '',
701             'reason' => 'Your session has expired or does not exist. You must log in to continue working.'
702             },
703             '13' => {
704             'notes' => '',
705             'reason' => 'The merchant API login ID is invalid or the account is inactive.'
706             },
707             '105' => {
708             'notes' => 'Applicable only to eCheck. The values submitted for city and country failed validation.',
709             'reason' => 'This transaction is currently under review.'
710             },
711             '6' => {
712             'notes' => '',
713             'reason' => 'The credit card number is invalid.'
714             },
715             '85' => {
716             'notes' => '',
717             'reason' => 'This reason code is reserved or not applicable to this API.'
718             },
719             '185' => {
720             'notes' => '',
721             'reason' => 'This reason code is reserved or not applicable to this API.'
722             },
723             '36' => {
724             'notes' => '',
725             'reason' => 'The authorization was approved, but settlement failed.'
726             },
727             '3' => {
728             'notes' => '',
729             'reason' => 'This transaction has been declined.'
730             },
731             '248' => {
732             'notes' => 'Invalid check number. Check number can only consist of letters and numbers and not more than 15 characters.',
733             'reason' => 'The check number is invalid.'
734             },
735             '213' => {
736             'notes' => 'This error code applies only to merchants on FDC Omaha. The merchant assessment code is incorrect.',
737             'reason' => 'This transaction has been declined.'
738             },
739             '94' => {
740             'notes' => 'This code is applicable to Wells Fargo SecureSource merchants only.',
741             'reason' => 'The shipping state or country is invalid.'
742             },
743             '51' => {
744             'notes' => '',
745             'reason' => 'The sum of all credits against this transaction is greater than the original transaction amount.'
746             },
747             '9' => {
748             'notes' => 'The value submitted in the x_bank_aba_code field did not pass validation or was not for a valid financial institution.',
749             'reason' => 'The ABA code is invalid.'
750             },
751             '111' => {
752             'notes' => 'This code is applicable to Wells Fargo SecureSource merchants only.',
753             'reason' => 'A valid billing country is required.'
754             },
755             '38' => {
756             'notes' => 'The merchant was incorrectly set up at the processor.',
757             'reason' => 'The Global Payment System identification numbers are incorrect. Call Merchant Service Provider.'
758             },
759             '4' => {
760             'notes' => 'The code returned from the processor indicating that the card used needs to be picked up.',
761             'reason' => 'This transaction has been declined.'
762             },
763             '34' => {
764             'notes' => 'The merchant was incorrectly set up at the processor.',
765             'reason' => 'The VITAL identification numbers are incorrect. Call Merchant Service Provider.'
766             },
767             '132' => {
768             'notes' => 'IFT: The payment gateway account status is Suspended-Blacklist.',
769             'reason' => 'This transaction cannot be accepted at this time.'
770             },
771             '171' => {
772             'notes' => 'Concord EFS Ð This request is invalid.',
773             'reason' => 'An error occurred during processing. Please contact the merchant.'
774             }
775             );
776              
777             1;