Some payments failed using REST API. Unusual response returned.
Cannot parse JSON for class Cannot parse JSON for class com.clover.server.handlers.api.v2.pay.DeveloperPayHandler.DeveloperPayRequest: Invalid numeric value: Leading zeroes not allowed\\n at [Source: java.io.InputStreamReader@6041ba1f; line: 1, column: 175]
I would double check that you are passing all numerical values that can start with a zero as a string. I only get
Invalid numeric value: Leading zeroes not allowed if I am passing a non-zero numerical value that starts with a '0' in any of the fields (e.g. 019 instead of "019").
Looking at the response, it says it occurs at line: 1, column: 175. You can check where in the body of your request payload that it is complaining about the leading zero by looking at character 175 of your payload.
Well, it is tricky problem because I don't have control about CVV or Card Number as we are using iFrame from Spreedly. So, CVV and Card Number was sent by Spreedly. I'll contact them and see if they have a solution for this.