Set up the testing sandbox

Before starting sandbox onboarding, you must sign up for a free PayPal Developer’s account, and create both merchant (to use for onboarding) and shopper accounts (to use for testing your checkout). You can create multiple Developer accounts, if desired.

A PayPal sandbox account allows you to use Payment Services in test mode. PayPal requires that you use a PayPal Developer Portal-generated Business sandbox test account, email, and password for sandbox onboarding. Do not create another account during the sandbox onboarding process.

Sandbox onboarding

To complete sandbox onboarding:

  1. Navigate to the PayPal Developer Account page.

  2. Click Log in to Home and log in with your existing PayPal Developer Portal-generated Business sandbox test account or click Sign Up to create an account.

  3. Create a PayPal sandbox account:

    1. Go to SANDBOX > Accounts.

    2. Click Create account.

      If you created an a PayPal sandbox account during the sandbox PayPal onboarding process, you must reset your onboarding sandbox because or you cannot verify your email.

    3. Select Business as the Account Type and click Create.

    4. In the Sandbox Accounts section, click the three dots in the Manage accounts column for the sandbox account you created.

    5. Click View/edit account.

      PayPal - View/edit sandbox account

    6. Copy and save the Email ID and System-Generated Password for future use.

  4. On the Admin sidebar, go to Sales > Payment Services.

  5. Click Sandbox onboarding.

    This option is visible if you have not yet completed sandbox onboarding for Payment Services.

    A sandbox merchant ID is auto-generated and populated into settings. Do not change or alter this ID.

    You are presented with a PayPal window for connecting a PayPal account to start accepting payments.

  6. Enter the email of your PayPal business account (not PayPal sandbox account) and your country or region and click Next.

    PayPal - Connect PayPal account for payments

  7. Continue to follow the PayPal flow, using your previously saved sandbox account credentials.

  8. On the Admin sidebar, go to Sales > Payment Services.

    The Sandbox onboarding button is no longer visible and you see a “Sandbox payments pending” text.

When your PayPal sandbox onboarding is approved, you should see a notification stating that your payment system is currently in sandbox mode and is not processing live payments.

IMPORTANT

If you revoke consent to Payment Services for Adobe Commerce and Magento Open Source for processing your payments (in your PayPal account settings), orders in your store cannot be processed by Payment Services. On your Payment Services home, an alert about the revoked consent appears. To dismiss the alert, click Do not show again.

Reset your sandbox account

If you created an a PayPal sandbox account during the sandbox PayPal onboarding process, you must reset your onboarding sandbox because or you cannot verify your email.

To reset your sandbox account:

  1. Click Reset sandbox. Create a PayPal business sandbox account.
  2. Click Sandbox onboarding and complete the next set of steps.

Enable contact telephone number

Contact telephone number allows you to obtain the contact telephone numbers that PayPal collects from your customers. PayPal always collects contact telephone numbers from PayPal account holders to help confirm their identities and to contact them to resolve problems on their accounts, or to complete their fulfillment processes. However, PayPal discourages the use of contact phone numbers directly from the merchant because it can negatively impact sales. See the PayPal get contact telephone numbers documentation for more information.

This feature is off by default. When you enable it, store administrators can see phone numbers when a customer completes a Branded Checkout flow outside of the checkout page.

IMPORTANT

This setting does not apply to other checkout flows.

Test in sandbox environment

See Test and validate for more information.

On this page