Braintree · Decline codes
What does Braintree 2008 “Card Account Length Error” mean?
Checked
Braintree 2008 “Card Account Length Error” means the card number does not have the right number of digits for that card. It is a hard decline. The shopper should enter the number again, checking every digit. If the decline continues with the right number, Braintree says the shopper needs to contact their bank.
- Type
- Hard decline
- Who declined
- The shopper's bank
- Retry
- Only after the number is corrected
- Shopper action
- Re-enter the full card number
- Merchant action
- Ask the shopper to check the digits
What PlatformDTC does
PlatformDTC does not connect to Braintree. A malformed number on its Stripe checkout comes back as incorrect_number or invalid_number, which PlatformDTC treats as a never-retry error the shopper must fix and flags with a plain hint at checkout.
Why it happens
A digit was dropped or added while typing, or the field cut the number short.
What the shopper can do
Type the card number again and compare each digit with the card.
What the store can do
Check that your card field accepts the full length of every brand you take (some cards are longer than 16 digits) and does not trim input.
For developers
Braintree returns processor_response_code 2008 with processor_response_text “Card Account Length Error” and processor_response_type “hard_declined” on the Transaction object.
Frequently asked questions
- Can Braintree 2008 be caused by my checkout form?
- It can if the field limits length or strips digits. Test with each card brand you accept.
- Does the shopper need a new card?
- Usually not. Re-entering the number correctly fixes most 2008 declines.
Sources
- Declines: authorization decline codes — Braintree (PayPal)
- Transaction response object — Braintree (PayPal)
- Decline codes — Stripe
Related
- 2005 — The card number is wrong or not a valid card.
- 2009 — The card number does not match any card-issuing bank.
- 2010 — The security code (CVV) entered is wrong.
- 2011 — The bank wants the merchant to phone for an approval code.
- 2012 — The card has probably been reported lost.
- 2013 — The card has probably been reported stolen.
- 2014 — The bank suspects fraud on this payment.