2

In my dev site I started getting the error in the image below after upgrading from 2.3.2 to 2.3.5.

code: "PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED"

details: undefined

message: "A linked PayPal Sandbox account is required to use PayPal Checkout in Sandbox. See https://developers.braintreepayments.com/guides/paypal/testing-go-live

In my main branch witch is still on the 2.3.2 version everything works well (it's pointing to the same braintree sandbox accounts). Any help is much appreciated. thanks !

3

2 Answers 2

1

You should try to link your PayPal Sandbox account with Sandbox Braintree account.

Here are described steps -> linked-paypal-testing

0

Braintree doc: https://developer.paypal.com/braintree/docs/guides/paypal/testing-go-live#linked-paypal-testing

You have to link your Paypal account to Braintree

In order to link a PayPal sandbox test account to your Braintree sandbox account, you will need the API credentials for that PayPal sandbox test account.

If you don't already have a PayPal sandbox test account for testing your Braintree integration, create a new one by following these steps:

  1. Create a PayPal business sandbox account:

    • Log into the PayPal Developer Dashboard
    • Navigate to Sandbox > Accounts
    • Click Create Account
    • Select the same Country as your Braintree sandbox account
    • Select the account type as Business
  2. Go to the Create New App page

    • Create an app to get sandbox API credentials
    • Select the same sandbox developer account as the test account created in step 1
  3. Note the following Sandbox API Credentials for the new app you created:

    • Email address associated with this app
    • Client ID
    • Secret

Once you have those PayPal sandbox API credentials, enter them in your Braintree sandbox:

  1. Log into your Braintree sandbox Control Panel
  2. Navigate to Settings > Processing > Payment Methods > PayPal
  3. Click Link Sandbox
  4. Enter the Email address, Client ID, and Client Secret for your PayPal sandbox test account
  5. Click Link PayPal Sandbox

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.