auxCode: numeric or string?
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
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
1 Posted by Dan Kamins on 01 Jun, 2010 09:45 PM
A guess: 412 errors result in string auxCodes, and all others result in numeric auxCodes?
Support Staff 2 Posted by Marc Guyer on 02 Jun, 2010 04:41 PM
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.
Marc Guyer closed this discussion on 02 Jun, 2010 04:41 PM.