---
title: Test and Implement 3D Secure
url: https://docs.maxio.com/payments/additional-gateways/compliance-3d-secure/3d-secure-implementation-flow/testing-implementing-3d-secure
applies_to: Advanced Billing
updated: 2026-10-26
---

# Test and Implement 3D Secure

Test the 3D Secure (3DS) experience before rolling it out on your live Advanced Billing site. See <a href="https://docs.maxio.com/payments/additional-gateways/compliance-3d-secure/3d-secure-implementation-flow/psd2-sca-and-3ds" target="_blank" rel="noopener noreferrer">Understand PSD2, SCA, and 3DS</a> for more on the underlying PSD2 and SCA requirements.

Advanced Billing currently supports 3DS on the following gateways: **Stripe**, **Braintree**, **CyberSource**, **Windcave** (formerly **Payment Express**), **Adyen**, and **BlueSnap**.

## Steps to test and implement 3D Secure

Complete each step below, in order, to test and implement 3D Secure. Select each link for more information:

1. <a href="https://docs.maxio.com/payments/additional-gateways/compliance-3d-secure/supporting-3d-secure-topics/step-1-gateway-configuration-advanced-billing-test-site-test-credentials-and-car" target="_blank" rel="noopener noreferrer">Enable and Configure 3D Secure for Your Gateway</a>
2. <a href="https://docs.maxio.com/payments/additional-gateways/compliance-3d-secure/supporting-3d-secure-topics/step-2-determine-your-access-points" target="_blank" rel="noopener noreferrer">Determine Your Access Points</a>
3. <a href="https://docs.maxio.com/payments/additional-gateways/compliance-3d-secure/supporting-3d-secure-topics/step-3-test-and-implement-the-applicable-access-points" target="_blank" rel="noopener noreferrer">Test and Implement the Applicable Access Points</a>
4. <a href="https://docs.maxio.com/payments/additional-gateways/compliance-3d-secure/supporting-3d-secure-topics/step-4-implement-on-live-advanced-billing-sites" target="_blank" rel="noopener noreferrer">Implement on Live Advanced Billing Sites</a>

## PSD2 flows: pre-authentication and post-authentication

Advanced Billing offers two ways to authenticate your customers' PSD2 transactions: a pre-authentication or post-authentication flow. There are several differences in how each of these authentications handles transactions that are flagged for SCA.

The authentication path controls when the customer is authenticated through 3D Secure.

![PSD2 flows compared: pre-authentication suits signup and self-service pages, post-authentication suits the API, each with its pros and cons](https://docs.maxio.com/content-images/payments/additional-gateways/compliance-3d-secure/3d-secure-implementation-flow/testing-implementing-3d-secure/24176305412877_authentication_flow.png)

**Pre-authentication** occurs at the same time the user enters their card details. This makes it easy for you, the merchant, since no further action is required on your end. This method surfaces a pop-up that authenticates the customer for $0, which does not necessarily match the final purchase price of the product.

Pre-authentication is applicable for:

- Public Signup Pages (PSPs)
- Self-Service Pages (SSPs)
- Maxio.js for CyberSource, Braintree, Windcave, Adyen, and BlueSnap

To enable pre-authentication for supported gateways on Maxio.js, add the flag `threeDSecure: true` to your `load.js` form.

With **post-authentication**, Advanced Billing waits until the token is used to check the need for SCA. In other words, a Maxio.js token is not authenticated until it is used. For API Subscription creation requests that fail due to SCA, Advanced Billing returns an `action_link` URL that you can share with the user. This URL leads to a page where authentication can be completed. See <a href="https://docs.maxio.com/configuration/advanced-billing/maxiojs/handle-3d-secure-post-authentication" target="_blank" rel="noopener noreferrer">Handle the 3D Secure Post-Authentication Flow</a> for details on implementing this workflow.

Post-authentication is applicable for:

- Maxio.js + API for Stripe
- Maxio.js + Braintree
