Skip to main content
Use our Redirect Component to redirect 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. Collect the additional parameters in your payment form and configure the card component.
  2. Provide the required 3D Secure parameters when making a payment request.
  3. Use the Redirect Component to handle the redirect.
This page describes the integration steps for Android Drop-in v4.x.x.

Requirements

Before starting your integration:
  1. Make sure that you have integrated our Card Component, or built your own UI for collecting shopper’s card details.
  2. 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 card holder name, the shopper 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.

Configure the Card Component

If you are using our Card Component, set holderNameRequired to true when creating a cardConfiguration object:

Make a payment

  1. 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.

    curl

    Java

    PHP

    C#

    NodeJS (JavaScript)

    Go

    Python

    Ruby

    NodeJS (TypeScript)

  2. 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