Test your integration by using the Braintree sandbox access token generated in your PayPal Developer Dashboard. This will allow you to:

  • Create sandbox buyer accounts — these are PayPal accounts that will allow you to test the PayPal checkout flow
  • Send transaction data to PayPal's sandbox environment

After you have the above set up, you can run through the various transaction methods (submit for settlement, refund, void) with the payment method nonce your server receives after the sandbox buyer completes the checkout flow. Be sure to check the result objects for each of the calls you make.

Go Liveanchor

I copied some of the content Start "Go Live" section to build the content for this "Go Live" section. There wasn't enough duplicate content so I really just took the headers. You can check the "partials/shared/go_live" partial to see what I based this off of

Follow these steps to transition from working in a sandbox setup to creating live transactions with your production account.

Live configurationanchor

To obtain your Braintree production credentials:

  1. Log into your PayPal console and navigate to your Access Token page.
  2. Click "Request Credentials". New Braintree SDK credentials will be generated for your account. You can display previously generated credentials by clicking "Show".
  3. In your server code, update the access token used to construct your gateway object with the production access token.
  4. Enable additional currencies, if needed.

No client updates neededanchor

Your client obtains its client token from your server, which is all the configuration it needs.

Test transactions in productionanchor

It is important to test your production account by creating a couple of low-value transactions. Be sure to submit the transactions for settlement, and then confirm that the funds have deposited into your bank account. This typically happens a few days after they have settled.

Happy coding!anchor