Hi, we just found an issue where customer multi-pay tokens are suddenly failing with the following response:
{ "message": "402 Payment Required", "error": { "code": "card_declined", "message": "CVV is not provided", "charge": "<HIDDEN>", "declineCode": "issuer_declined" } }
These tokens have been used successfully before to complete transactions, but suddenly they start throwing the above error with HTTP 402 Payment Required error code and the above message.
We found a following similar question: https://community.clover.com/questions/30005/payment-failed-when-using-same-payment-token-for-p.html
In the above question and the docs, it now says we need to pass the Customer UUID instead of the token or pass stored_credentials in the request.
We have been operating on production with Clover Ecommerce for around 8 months now and we passed the card token in the /v1/orders/{orderId}/pay as the `source` for the first request and subsequent payments. We have never had such an error and I can distinctly remember that it was the documented flow.
Q1: Can you confirm if this flow has now changed? Or was this always the expected flow? We had complaints from customers 1 day ago, around the same time the user in the above question faced the issue.
Q2: Are there any release notes or documentation that we can follow if such changes will happen in the future? This scenario has completely caught us by surprise.
Q3: How does Clover know which card to charge if the customer has multiple stored cards? Customer UUID uniquely identifies a customer, not a card right?
Q4: I do not see the stored_credentials in the documentation. Was it a workaround suggestion?