Setup and Integration
Important
Starting October 1, 2026, the Drop-in SDK will be deprecated. No new features, improvements, or bug fixes will be released after this date. Payment processing will continue to be supported until October 1, 2027, but we strongly recommend migrating to the Braintree SDK as soon as possible to avoid future disruption.
Starting October 1, 2027, the Drop-in SDK will become unsupported. Braintree support team will no longer provide assistance for this SDK, and payment processing may be suspended at any time.
Action required: Migrate to the Braintree Android SDK to continue processing payments and receive ongoing updates, security fixes, and support.
Configuration
To use the Drop-in UI, you'll need to
get a tokenization key from the Control Panel
or you can
generate a client token
on your server.
Setup
Gradle
Use Gradle to integrate with the Braintree Android SDK. In your app's
build.gradle, add the following:
- Kotlin
- Groovy
dependencies {
implementation("com.braintreepayments.api:drop-in:6.13.0")
}Client-side implementation
Starting Drop-in
Configuring payment methods
Additional steps are required for the Drop-in UI to accept payment methods other than cards. After
completing the
Drop-in setup instructions, follow the steps below for each payment method
type.Google Pay
In order for Drop-in to support Google Pay, you must ensure you've
added the required meta-data tag in your AndroidManifest.xml.
If
using a client token with a customer id, the Google Pay card will not automatically be vaulted. You can use the payment method nonce to
create a payment method on your server.
Venmo
3D Secure
Displaying the most recently added payment method
Next steps
- Read the Set Up Your Server guide to learn about our server SDKs and how to send a nonce to your server
- Explore the ways to customize the appearance and functionality of Drop-in
- Learn how to manage different payment methods