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

Could not convert string to integer: MerchantACS. #65

Open
ramosisw opened this issue Oct 3, 2023 · 0 comments
Open

Could not convert string to integer: MerchantACS. #65

ramosisw opened this issue Oct 3, 2023 · 0 comments

Comments

@ramosisw
Copy link

ramosisw commented Oct 3, 2023

On

[POST] Check Payer Auth Enrollment https://apitest.cybersource.com/risk/v1/authentications

CyberSource.Client.ApiException: Could not convert string to integer: MerchantACS. Path 'consumerAuthenticationInformation.acsOperatorID', line 1, position 1948.
   at CyberSource.Client.ApiClient.Deserialize(RestResponse response, Type type)

The error only occurs if the following consumer authentication information is added

{
  "consumerAuthenticationInformation" : {
      "returnUrl": "{{returnUrl}}",
      "referenceId": "{{referenceId}}"
  }
}

If that consumer authentication information is not present, it does not fail, but since there is a PENDING_AUTHENTICATION, there is no ACCESS_TOKEN

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