How to link PayPal to the Braintree sandbox gateway?

sskppbt
Moderator
Moderator

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:

  1. Login to PayPal Developer Portal with your live PayPal account credentials.
  2. Click on Create App button and enter a name for your REST app.
  3. Choose the Sandbox account you want to use from the drop-down menu.
  4. 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 Live​to retrieve them accordingly.

sskppbt_0-1622109466771.png


The API credentials must be entered in your Braintree account PayPal settings as described below.

  1. Log into your Braintree sandbox Control Panel
  2. Navigate to Settings > Processing > Payment Methods > PayPal
  3. Click Link Sandbox
    sskppbt_1-1622109466776.png
  4. Enter the Email addressClient ID, and Client Secret for your PayPal sandbox test account.
    sskppbt_2-1622109466782.png

     

  5. Click Link PayPal Sandbox.

Once PayPal is linked the PayPal payment method will be available for testing.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.