You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError ClientCredentialsAuthManager::addExpiryTime(): Argument #1 ($oAuthToken) must be of type PaypalServerSdkLib\Models\OAuthToken, array given
#33
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.
This happens to me, when my credentials are invalid.
In this case PaypalServerSdkLib\Authentication\ClientCredentialsAuthManager::fetchToken does not return an oAuthToken, but an array. So the next step call $this->addExpiryTime($oAuthToken); will fail.
I think there has to be a type check before.
The text was updated successfully, but these errors were encountered:
This happens to me, when my credentials are invalid.
In this case PaypalServerSdkLib\Authentication\ClientCredentialsAuthManager::fetchToken does not return an oAuthToken, but an array. So the next step call $this->addExpiryTime($oAuthToken); will fail.
I think there has to be a type check before.
The text was updated successfully, but these errors were encountered: