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

Authorize.Net · Decline codes

What does Authorize.Net 78 “The card code is invalid” mean?

Checked

Authorize.Net response reason code 78, "The card code is invalid", means the value submitted in the card code field failed format validation, for example too few or too many digits or non-numeric characters. No bank compared it yet; the format itself was wrong. The shopper should re-type the security code, and stores should check that their form accepts four digits for American Express.

Type
Error (card data format)
Who declined
Authorize.Net's validation
Retry
Only with a correctly formatted security code.
Shopper action
Re-enter the 3- or 4-digit code.
Merchant action
Make sure the field allows 4 digits for American Express.

What PlatformDTC does

Code 78 is not on PlatformDTC's reroute list, and PlatformDTC never sends an unclassified code to a backup processor; the shopper corrects the security code on the same checkout. On a subscription renewal the code is not retried: the subscription is held past due and the customer gets an email with a link to add a new card.

Why it happens

The cardCode field failed Authorize.Net's format check: 3 digits for most cards, 4 for American Express.

What the shopper can do

Type the security code again: 3 digits on the back, or 4 on the front for American Express.

What the store can do

Check field length limits and that the form does not send spaces or hint text.

For developers

errors[0].errorCode "78" (cardCode failed format validation). A correctly formatted but wrong code returns 44 or 65 instead.

Frequently asked questions

Is Authorize.Net code 78 a CVV mismatch?
No. It is a format error; a mismatch with the bank's records is code 44 or 65.
Why does code 78 hit American Express cards?
Amex uses a 4-digit code; a form limited to 3 digits sends an invalid value.

Sources

Related

Payments library