Paypal Connect

To use PayPal as a social login provider, you will need an App ID and App Secret from your PayPal app, then copy these keys into your ReachFive settings. This tutorial explains how to create a PayPal App and connect it to your ReachFive account.

Default values for Paypal

The default values available to ReachFive from Paypal are:

  • Full name

  • Phone number

  • Email

  • Address

  • Birthday

When integrating with ReachFive, the name field contains the Full name provided through PayPal in the profile scope.

PayPal Developers

Go to PayPal, login with your account and go to your dashboard.

paypal 1

Create a new REST API app

On My Apps & Credentials, click on Create App on REST API apps part.

paypal 2

Give a name to your app and click Create App.

paypal 3

Configure Your PayPal App

On PayPal, go to Live App Settings.

paypal 4

Add https://{REACHFIVE_DOMAIN}/login/callback as Return URL, where REACHFIVE_DOMAIN is your ReachFive domain.

Then, check Log In with PayPal and click Advanced options.

paypal 5

Check Personal Information, Address Information and Account Information. Add Privacy policy URL and User agreement URL and Save it. If you can’t check this boxes, you need to pass the permissions review process.

paypal 6

Validate your PayPal app

Every PayPal application which collects user data needs to be reviewed.

You must send an email to help-loginappreview@paypal.com with your app ID, how you use PayPal connect, and why you need to collect user information, such as the name, email, and street address.

Find an example of such an email below.
For more information, refer to the official PayPal documentation.

Hello,

I currently work for [BRAND].

I would like my Live PayPal Application with client ID [Client ID live APP] to be reviewed.

On my website, users can create an account to place orders, using our own account creation form or by using social connectors, which we encourage them to do.

  • profile

  • email

  • address

These scopes will be helpful to collect the following information, which we use:

  • Given name - to create an account

  • Family name - to create an account

  • Email address - to create an account

  • Birthdate - to create an account, and used to send gifts on the user birthday

  • Phone number - to request user consents

  • Postal address - to deliver orders

If you need more information from us, please reach out.

Thanks in advance for your help.

Best regards,
[YOUR NAME]

Configure PayPal as Provider on ReachFive

There are two environments in your PayPal app: Sandbox and Live.

Make sure to fetch the client ID and secret mentioned below, from the Live environment.

  1. On the ReachFive Console, go to Settings  Providers, then select PayPal.

    paypal 8
  2. Copy the Client ID and Secret fields from your PayPal app to the corresponding field in the PayPal provider configuration window.

    paypal 7
  3. Under Permissions, select all values except https://uri.paypal.com/services/expresscheckout.

    paypal 9

Conclusion

That’s all for creating a basic PayPal application.