cybersource-sdk-java
cybersource-sdk-java copied to clipboard
Types missmatch on "consumerAuthenticationInformation.acsOperatorID" field
Hi, I'm currently developing on a solution that call CheckPayerAuthEnrollment, when I get a response from the server the SDK breaks throwing the error java.lang.NumberFormatException: For input string: "MerchantACS"
at Invokers.JSON.deserialize(JSON.java:103) at Invokers.ApiClient.deserialize(ApiClient.java:1069) at Invokers.ApiClient.handleResponse(ApiClient.java:1293) at Invokers.ApiClient.execute(ApiClient.java:1213) at Api.PayerAuthenticationApi.checkPayerAuthEnrollmentWithHttpInfo(PayerAuthenticationApi.java:163) at Api.PayerAuthenticationApi.checkPayerAuthEnrollment(PayerAuthenticationApi.java:148) at com.api.cybersource.EnrollWithPendingAuthentication.run(EnrollWithPendingAuthentication.java:102)
It is happening because acsOperatorID is Integer field in SDK but as per API field it should be string and response being returned from cyber source is String. Please check.