Closed jonathonbyrdziak closed 4 years ago
This was solved by our Account Manager. Apparently PayPal Here (PPH) needs to be enabled for the client_id you're using.
I'm not sure where or how to enable PPH, but he did it for us. Good Luck Y'all!
I was referring to your enablement in the REST App which you show in your screen shot as being checked. Therefore, it may have just been a glitch in the sandbox where, even though you had the box checked, it didn't actually add the scope to the REST App in the background. I will do further testing internally, but like you said, you're good to go now.
Brief
My team is working on a new iOS app that integrates paypal. When I set the scopes to
openid address email profile
, everything works well to generate a token, so I know the retail node is working.I try to use the access token in my app and I get the following errors:
and
Because of the error above I believe that I need to add paypalhere to my scopes.
When trying to update the scopes in the retail node to
openid https://uri.paypal.com/services/paypalattributes/business https://uri.paypal.com/services/paypalhere address email profile
I get another error:Here's my setup
Environment Setup
The Oauth App
We've got the paypal retail node setup on heroku.
The Scopes I need
I need the following scopes:
As copied directly from https://developer.paypal.com/docs/integration/paypal-here/merchant-onboarding/permissions/#permissions-for-transaction-processing
Developer App Settings
I have checked every option in the app settings.