auxCode: numeric or string?

Dan Kamins's Avatar

Dan Kamins

01 Jun, 2010 09:40 PM

I'm seeing conflicting information about the "auxCode" returned with errors. Sometimes it seems numeric (e.g. "6001" for AVS mismatch), and sometimes it seems to be a string (e.g. "ccCardCode:stringLengthTooShort"). Am I even looking at the same thing or just confused?

P.S. Docs at http://support.cheddargetter.com/faqs/api-8/error-handling

  1. 1 Posted by Dan Kamins on 01 Jun, 2010 09:45 PM

    Dan Kamins's Avatar

    A guess: 412 errors result in string auxCodes, and all others result in numeric auxCodes?

  2. Support Staff 2 Posted by Marc Guyer on 02 Jun, 2010 04:41 PM

    Marc Guyer's Avatar

    Aux Codes are used to provide more actionable detail on an error. They can be anything. Currently, aux codes are returned for 412 and for codes shown in the chart you referenced.

    412 errors result in string auxCodes. These are not documented directly. If format and required fields are enforced at the interface level, these errors can be eliminated.

  3. Marc Guyer closed this discussion on 02 Jun, 2010 04:41 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM