Get access Token from refresh token with false expire_in time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
since a few days we have problems to get the access token from a refresh token.
We get back an access token with a "false" expire_in value.
The problem is that the expire_in value is not exactly 900 but for example 28798.
If that is the case (expire_in not 900) it means that the consent of the user is supposedly missing. At least that is the info we got from the paypal support and the reason we check this value.
This problem comes up not only with our costumers but also with our sandbox account where we definitely did't remove the consent.
Also the problem is not deterministic. Sometimes we get a response with expires_in = 28798 and if we run the same request again we get a response with expire_in = 900.
We use the Java API v1.9.2
More information why we check for expire_in have a look:
https://github.com/paypal/PayPal-iOS-SDK/issues/189

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.