Drop-in UI

Setup and Integrationanchor

Configurationanchor

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.

Setupanchor

Gradleanchor

Use Gradle to integrate with the Braintree Android SDK.

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

Client-side implementationanchor

Starting Drop-inanchor

Configuring payment methodsanchor

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 Payanchor

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.

Venmoanchor

3D Secureanchor

Displaying the most recently added payment methodanchor

Next stepsanchor


Next Page: Customization