Search⌘ K
AI Features

Client Setup for Braintree

Explore the steps to set up the Braintree client-side SDK using JavaScript, including integrating the Drop-in UI, obtaining client tokens, requesting payment method nonces, and sending them securely to your server for payment processing.

Braintree provides us with different client-side SDKs such as Android, iOS, and JavaScript. These SDKs allow us to integrate Braintree functionality at the front-end of our applications.

The workflow of the events performed by our client using the Braintree SDK is shown below:

  1. Token request sent to the server
  2. Client token received from the server
  3. Payment information sent to Braintree to get a payment method nonce
  4. Payment method nonce received from Braintree
  5. Payment method nonce sent to the
...