How to link PayPal to the Braintree sandbox gateway?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to link your new PayPal sandbox account to Braintree, you need to create a PayPal REST app via PayPal Developer Portal and enter your REST app's client ID and secret in your Braintree account's PayPal settings. You can see this information in our PayPal Setup guide as well. Here's how you can create a PayPal REST app:
- Login to PayPal Developer Portal with your live PayPal account credentials.
- Click on Create App button and enter a name for your REST app.
- Choose the Sandbox account you want to use from the drop-down menu.
- Click Create App button.
This will create a PayPal REST app and you will see your client ID and secret for both Sandbox and Live environments. You will see a toggle between Sandbox and Liveto retrieve them accordingly.
The API credentials must be entered in your Braintree account PayPal settings as described below.
- Log into your Braintree sandbox Control Panel
- Navigate to Settings > Processing > Payment Methods > PayPal
- Click Link Sandbox
- Enter the Email address, Client ID, and Client Secret for your PayPal sandbox test account.
- Click Link PayPal Sandbox.
Once PayPal is linked the PayPal payment method will be available for testing.
- Labels:
-
Payments REST APIs

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- permission_denied response in call to patch order when paying by Card in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Who knows if Braintree works? in Braintree Client-side Integration (JS, iOS, Android SDKs)
- EDD in PayPal Payments Standard
- PayPal integration with Next, Lambda and API Gateway - 400 Invalid Request in Sandbox Environment