In our code, we need to verify an external account.
First, we are getting the ExternalAccount object with the customer ID and external account ID. This step is succeeding without any errors.
ExternalAccount account = ExternalAccount.get(
request.getCustomerId(),
request.getExternalAccountId(),
connection,
null
);
However, when we call account.verify(), this step is failing even though the account exists in core pro.
return account.verify(
request.getAmountOne(),
request.getAmountTwo(),
connection,
null
);
This is the exception that is being thrown:
CoreProApiException: Invalid ExternalAccountId '305014' See Errors property for full list of error details.
We have also tried using ExternalAccount.getByTag(), but always get the same results.
While I am not positive whether this is a problem with the SDK or the CorePro sandbox, I have had success testing this process against the CorePro sandbox API, but I haven't been able to replicate it using this SDK.
In our code, we need to verify an external account.
First, we are getting the
ExternalAccountobject with the customer ID and external account ID. This step is succeeding without any errors.However, when we call
account.verify(), this step is failing even though the account exists in core pro.This is the exception that is being thrown:
We have also tried using
ExternalAccount.getByTag(), but always get the same results.While I am not positive whether this is a problem with the SDK or the CorePro sandbox, I have had success testing this process against the CorePro sandbox API, but I haven't been able to replicate it using this SDK.