Setup
1
Get credentials
Go to the PayPal Developer Portal and create an app under My Apps & Credentials. Add your redirect URI:2
Scopes
Default scopes:openid, email
PayPal supports both sandbox and live environments. Use sandbox credentials during development and switch to live credentials before going to production.