Symptoms
API method UserForVendorValidate_API returns 0 instead of expected User ID. What are the possible reasons?
Cause
- The user does not belong to the specified vendor.
- The pair login/password is incorrect - it is impossible to login with the credentials specified. Note, the both login and password parameters are case-sensitive.
- An account to which the user belongs cannot place orders, it is in one of the statuses listed - "Cancelled", "Administrative Hold", "Credit+Administrative Hold".
- The user is a provider's staff member. There is a request #PBA-56571 ("UserForVendorValidate_API can not be used to validate provider's staff member") to have the method that works for such staff member.