question

sergiotr avatar image
sergiotr asked David Marginian Deactivated commented

What is the meaning of this error Charge declined:CRYPTO FAILURE ? iOS SDK

Keep getting this error when doing keyedin transactions this is pointing to CLVGoEnvironment: demo env


"message\":\"Charge declined:CRYPTO FAILURE\",\"gatewayResult\":\"DECLINED\""POSCondCode\\\\\\\":\\\\\\\"71

Clover Android SDKRemote Pay iOS
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 commented

Are you seeing this in Sandbox?

6 comments
10 |2000

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

sergiotr avatar image sergiotr commented ·
Yes this is sandbox
0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ sergiotr commented ·

What test card number are you using? I just tried the 6668 card listed in our docs https://docs.clover.com/docs/testing-us-payment-flows and manual entry is working fine.

0 Likes 0 ·
sergiotr avatar image sergiotr David Marginian ♦♦ commented ·

Getting same error using suggested card
https://api-qa.payeezy.com/clovergosdk/v2/transactions this API is returning 400 with below response

this is the card object that the SDK is passing


"credit_card": {
"card_number": "6011361000006668",
"cvv": "100",
"exp_date": "0522",
"is_present": true,
"is_reader_connected": false
},

RESPONSE
"message": "{\"message\":\"Charge declined:CRYPTO FAILURE\",\"gatewayResult\":\"DECLINED\",\"clientData\":{},\"extra\":{\"common\":\"{\\\"LocalDateTime\\\":\\\"20220217221802\\\",\\\"POSEntryMode\\\":\\\"012\\\",\\\"MerchID\\\":\\\"\\\",\\\"TermEntryCapablt\\\":\\\"03\\\",\\\"CardCaptCap\\\":\\\"1\\\",\\\"STAN\\\":\\\"002352\\\",\\\"POSCondCode\\\":\\\"71\\\",\\\"TermLocInd\\\":\\\"0\\\",\\\"TermID\\\":\\\"1017964\\\",\\\"TrnmsnDateTime\\\":\\\"20220217221802\\\",\\\"TermCatCode\\\":\\\"12\\\"}\",\"func\":\"CREDIT\",\"exp\":\"202205\",\"cvmResult\":\"NO_CVM_REQUIRED\",\"tkntype\":\"0001\"}}"


0 Likes 0 ·
Show more comments

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