Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types missmatch on "consumerAuthenticationInformation.acsOperatorID" field #171

Open
sumitkamboj opened this issue Jul 10, 2023 · 0 comments

Comments

@sumitkamboj
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant