question

brunopalozzi avatar image
brunopalozzi asked David Marginian Deactivated edited

Getting "card_declined" error while trying to charge a saved credit card

Hi, We are trying to charge a customer's saved credit card, but we get the following error:

{

"message": "402 Payment Required",
"error": {
"code": "card_declined",
"message": "CVV is not provided",
"charge": "my charge token",
"declineCode": "issuer_declined"

}
}

The card has worked previously without any error, and happens to some cards. Is there any reason why this happens?


ecommerce
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

Is this happening in production? Are you saving cards per our instructions as documented here - https://docs.clover.com/docs/ecommerce-saving-card? My initial thought would be that you aren't following our process and that the subsequent payment is not being marked as such, and thus we are trying to verify the CVV (which won't exist for payments via card on file).

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community