NewNo plan feeNo plan fee. Just 2.9% + $0.30 per card sale, and signing up is free.Try now →

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

Related

Payments library