Setup and Integration

Important

Starting July 14, 2025 the Drop-in SDK will move to a deprecated status and we will no longer make any updates to this SDK. Processing will be supported for 1 year after the deprecation date, but you should upgrade immediately to avoid any disruption.

Starting July 14, 2026 the Drop-in SDK will move to an unsupported status and will no longer supported by Braintree developers or Braintree Support. Processing for unsupported SDKs can be suspended at any time.

Please migrate to the Braintree SDK to continue processing and receiving updates.

Important

The SSL certificates for Braintree Mobile (iOS and Android) SDKs are set to expire on March 30, 2026. This will impact existing versions of the SDK in published versions of your app. To reduce the impact, upgrade the Android SDK to version 4.45.0+ or version 5.0.0+ for the new SSL certifications.

If you do not decommission your app versions that include the older SDK versions or force upgrade your app with the updated certificates by the expiration date, 100% of your customer traffic will fail.

ConfigurationAnchorIcon

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.

SetupAnchorIcon

GradleAnchorIcon

Use Gradle to integrate with the Braintree Android SDK.

In your app's build.gradle, add the following:

Client-side implementationAnchorIcon

Starting Drop-inAnchorIcon

Configuring payment methodsAnchorIcon

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 PayAnchorIcon

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.

VenmoAnchorIcon

3D SecureAnchorIcon

Displaying the most recently added payment methodAnchorIcon

Next stepsAnchorIcon


Next Page: Customization