Set Up Account and Environment

DOCS

Last updated: Feb 7th, 10:24am

Take these steps before beginning your P3 integration:

Get PayPal REST API credentials

To generate REST API credentials for the sandbox and live environments:

  1. with your PayPal account.
  2. Under the DASHBOARD menu, select My Apps & Credentials.
  3. Make sure you're on the Sandbox tab to get the API credentials you'll use while you're developing code. After you test and before you go live, switch to the Live tab to get live credentials.
  4. Under the App Name column, select Default Application, which PayPal creates with a new Developer Dashboard account. Select Create App if you don't see the default app.

Make sure you complete these steps to get credentials for both sandbox and live apps.

Submit your client ID for provisioning

Contact your account manager or Global Professional Services to enable the PayPal Provisioning Platform for your client ID. Your client ID is generated when you get PayPal REST API credentials.

PayPal must provision your client ID before you can make API calls. Submit your sandbox client ID for provisioning while your team reviews the technical documentation. Once you have started performing integration testing in sandbox, submit your live client ID for provisioning.

Create sandbox accounts

To test your web and mobile apps with mock transactions, create a personal account to represent the buyer and a business account to represent the merchant.

  1. Log into Dashboard and type your PayPal business account email and password. If you do not have a business account, click Sign Up.
  2. Under Sandbox, click Accounts and click Create Account.
  3. To create the buyer account, select the personal account type and click Create Account. A personal account with default values for balances and other information is created for you.
  4. To create the merchant account, select the business account type, type account information, and click Create Account.

Meet security requirements

Information and network security

Your integration must meet these information and network security requirements:

  • Information security— Your environment must support TLS 1.2 with mutual authentication and HTTP/1.1.
  • Network connectivity— PayPal recommends connecting over the open Internet for these APIs.

Log IDs

To assist PayPal support with debugging any issues encountered during the integration, be sure to log the PayPal-debug-ID and the referral ID values that are returned with these responses.

Value Description
PayPal-debug-ID Response header
Value that identifies this request used by support.
referral ID Returned in the Consumer Referral API Response
PayPal-generated ID sent to the client in the Consumer Referral API response. The client can send this ID in subsequent API calls and use this ID to determine whether API calls are for the same user’s provisioning flow. A front-end URL parameter also passes this same identifier to PayPal.

Next

Integration Steps: Choose Integration Flow

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more