Configure Sandbox Accounts

Docs

Last updated: Aug 15th, 7:11am

To set up your PayPal Here implementation to test in the PayPal sandbox:

  1. Set up a PayPal Developer site account.
  2. Create a REST application to get your sandbox credentials.
  3. Create a sandbox account to use in the onboarding and also act as the receiver of funds.

Create a PayPal account

To access the PayPal Developer Dashboard, create a developer PayPal account that can be shared with others on your development team. Sign up with a team email address instead of an individual email to make sharing easier.

PayPal does a verification check by sending an email message to the address that you specify. Enable your account by responding to the PayPal verification message. If you do not receive the verification email within a few minutes after signing up, verify that it has not been blocked or diverted to a spam folder.

After you enable your PayPal developer account, you can log in to the Developer Dashboard with the username and password of your PayPal Developer account. You can use your PayPal Developer account to:

  • Create one or more PayPal Sandbox REST apps, which come with the client credentials you'll need to make API calls in Sandbox.
  • Create and access additional Business and Personal Sandbox accounts for testing.

Create a REST application

After you create a PayPal developer account for your team, create a PayPal REST app in the PayPal Developer Dashboard to get your API credentials.

  1. Create an app and receive your API credentials.
  2. Make sure you enable the following functionality in your app, both sandbox and live, in order to get access to the scopes you need to gain permission to act on the merchant's behalf:
    • Log in with PayPal. When you enable Log in with PayPal, click Advanced Options and select Personal Information and Address Information, which are disabled by default. The PayPal Here SDK needs this information to gather the necessary merchant account information.
    • PayPal Here

Create sandbox accounts

After you create your PayPal REST app, you need an additional sandbox business account. To create a sandbox account:

  1. Log in to the Developer dashboard with the username and password of your team's PayPal Developer account.

  2. Click the Dashboard and then, in the left-hand navigation, click Sandbox > Accounts.

  3. Click the Create Account button.

  4. Fill in the values on the Create Sandbox Account page then click Create.

After you click the Create button, the test account is added to your list of Dashboard > Sandbox > Accounts. You can log into the PayPal Sandbox with the username and password from your test account to review the status of the mock transactions associated with the account.

For more information, see the Managing your Sandbox accounts in the Sandbox guide.

Next

Test in the sandbox.

We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies