Skip to main content
Our Android Drop-in renders the available cards in your payment form, and securely collects any sensitive card information, so it doesn’t touch your server. Drop-in also redirects the shopper to perform 3D Secure 2 authentication. When adding card payments with redirect 3D Secure authentication to your integration, you additionally need to:
  1. Configure Drop-in to collect the card holder name.
  2. Provide the required 3D Secure parameters when making a payment request.
  3. Handle the redirect after the shopper returns to your website.
This page describes the integration steps for Android Drop-in v4.0.0 or later.

Requirements

This page explains how to add cards with redirect 3D Secure authentication to your existing Android Drop-in integration. The Android Drop-in integration works the same way for all payment methods. If you haven’t done this integration yet, refer to our Drop-in integration guide. Before you begin your integration:
  1. Make sure that you have set up your back end implementation, and added Drop-in to your payment form.
  2. Add the cards that you want to accept in your test Customer Area.
  3. If you are using 3D Secure for PSD2 compliance, read our comprehensive PSD2 SCA guide.

Collect additional parameters in your payment form

For higher authentication rates, we strongly recommend that you collect the shopper’s billing address and email address in advance in your payment form. Deliver these parameters to your backend when making a payment as they are required by the card schemes.

Show the available cards in your payment form

For information about the supported countries/regions and currencies for each card, refer to Payment methods. To show cards in your payment form:
  1. Specify in your /paymentMethods request a combination of countryCode and amount.currency. Drop-in uses this information to show the available cards to your shopper.
  2. When creating an instance of Drop-in, create a configuration object, and pass your client key. To make sure you collect the cardholder name, set holderNameRequired to true.

Make a payment

When the shopper proceeds to pay, Drop-in returns the paymentComponentData.paymentMethod.
  1. Pass the paymentComponentData.paymentMethod object to your server.
  2. When you make a payment request, include the following additional 3D Secure 2 parameters. See additional 3D Secure 2 parameters that we recommend to include in your request to increase authentication performance in our API reference.
This is the required icon. Required for all transactions.
This is the conditionally required icon. Required for particular setups, or issuers and card schemes.
This is the recommended icon. Recommended for all transactions, but not required.
  1. In the response, check if there is an action object.
Your next steps depend on whether the response contains an action object, and on the action.type.A sample /payments response with action.type: redirect:/payments response