These guides will take the user through account setup procedures for applications, accounts, etc. It will contain everything that is needed for working with the PayPal APIs.
Version | Release Date |
---|---|
1.0.0 | 2016-04-11 |
In order to begin building with PayPal APIs, you have to create an application to obtain a client ID and secret.
Go to https://developer.paypal.com/developer/applications/, sign in, and click on "Create App", as shown below:
Next, enter an application name, select the sandbox testing account that you want to use (if it's a new account, leave the default value), and click "Create App".
Once the application is created, you will be provided with your sandbox and live client ID and secret, which will look similar to the following:
These credentials are what you will use when making requests to PayPal APIs in order to authenticate your application and make requests.
When testing you PayPal integration on sandbox, you'll need to have sandbox user accounts set up to use to go through the payment flow.
Go to https://developer.paypal.com/developer/accounts/, log in using your PayPal account, and click on "Create Account", as below:
Enter in the accounts details for the new test user, including a unique email, account information, payment method, balance, etc, and click on "Create Account" at the bottom of the page once done. This will create the new account for you to begin using.
To see account details for this new user, expand the entry on the accounts page, and click on "Profile".
Once that profile information loads, clicking on the "Funding" tab will give you payment information for that account, including credit card information that may be used for direct credit card processing against sandbox.
NOTE: When using the sandbox API endpoints, you need to use sandbox test account to log in and pay for the test goods, as your live account information will not work.