Hi guys,
So we are tokenizing using the iFrame and receiving a customer token.
Then hitting the `https://scl.clover.com/v1/charges ` endpoint for a "FIRST" time "CARDHOLDER" initiated payment using the token generated from the iFrame.
{ "amount": 500, "currency": "cad", "source": "{token from iFrame}", "description": "{merchant name}", "ecomind": "ecom", "stored_credentials": { "sequence": "FIRST", "initiator": "CARDHOLDER", "is_scheduled": false, "installment_info": null } }
We're then getting a 402 response like this from Clover (I got this one by retrying from POSTman so not 100% sure this is the exact error object for the initial transaction):
{ "message": "402 Payment Required", "error": { "code": "card_declined", "message": "CVV is not provided", "charge": "D16HM3HQ7P1X6", "declineCode": "issuer_declined" } }
This is working OK in Sandbox. Can you tell what's going wrong?
Whats the best way to investigate failed payments like this? Is there a log or anything that we can look up that "charge" id?
Thanks!