question

artprzjr avatar image
artprzjr asked davetherock answered

Test card issue -- incorrect response

Hi,

I am receiving a failed response for a test card that is suppose to simulate a successful transaction.

According to https://docs.clover.com/docs/test-card-numbers#test-for-all-cards the following cards should have a "successful" transaction response.


American Express 3782 822463 10005
American Express 3714 496353 98431

however when I receive the response from the clover endpoint, it returns the following "card declined" response:


Client error: `POST https://scl-sandbox.dev.clover.com/v1/charges` resulted in a `402 Payment Required` response: {"message":"402 Payment Required","error":{"code":"card_declined","message":"CVV could not be verified","charge":"H2HYYW (truncated...)


any help would be appreciated, thanks in advance.


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.

bryanvargas avatar image
bryanvargas answered

What CVV are you putting in and can you check your test merchant fraud tools and make some edits to allow transactions to process with incorrect cvv

10 |2000

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

artprzjr avatar image
artprzjr answered bryanvargas commented

I'm using 123 as the CVV, pls. note that this cvv works for the rest of the test cards.

1 comment
10 |2000

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

bryanvargas avatar image bryanvargas ♦♦ commented ·
AMEX has 4 digits for the CVV
0 Likes 0 ·
artprzjr avatar image
artprzjr answered

I have already used 1234 as the cvv for the AMEX test cards, but it still returns a failed result. (see below response)

Client error: `POST https://scl-sandbox.dev.clover.com/v1/charges` resulted in a `402 Payment Required` response: {"message":"402 Payment Required","error":{"code":"card_declined","message":"CVV could not be verified","charge":"7R2FJG (truncated...)

Also I noticed that the transaction I made with the 2 amex test cards always generates a "Transaction - Voids" entry on the test merchant account dashboard > Transactions > Void, even though it returns a failed response. (pls see below image)

1700666459303.png


1700666459303.png (37.2 KiB)
10 |2000

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

davetherock avatar image
davetherock answered

I'm having this issue as well with the AMEX test cards above...

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