Loading article…
Loading article…
Last updated on Aug 26, 2026
Once your team has determined which access points your Advanced Billing integration uses, test 3D Secure on each one before rolling it out to your live site.
Please be aware that this article is related to testing and implementing 3D Secure. We currently support 3DS on the following gateways: Stripe, Braintree, CyberSource, Windcave (Payment Express), Adyen.
Important: Test each of these access points on a separate Advanced Billing test site.
To handle SCA requests with Maxio.js, add the flag threeDSecure: true to your load function. The following is a minimal example that passes credit cards:
<script>
var chargify = new Chargify();
chargify.load({
// selector, where the iframe will be included on your page
// optional, if you have a `selector` for every field ('fields' option)
selector: '#chargify1',
// (e.g. '1a2cdsdn3lkn54lnlkn')
publicKey: 'your-public-api-key',
// form type (possible values: 'card', 'bank' or 'gocardless')
type: 'card',
// points to your Chargify site
serverHost: 'https://acme.chargify.com',
//enables support for 3D Secure
threeDSecure: true
});
</script>Exactly when the SCA pop-up is displayed to your customer depends on whether the gateway requires a pre-auth or post-auth integration. See Test and Implement 3D Secure for more information.
| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | Post-auth integration; creating a Maxio.js token doesn't prompt SCA. |
| Braintree | Ready | Pre-auth integration. A billing address is required on the credit card. See Provide a 3D Secure verification amount for Braintree below. |
| CyberSource | Ready | Pre-auth integration; the SCA prompt is given to the customer when their token is created. A billing address is required on the credit card, and the product must have an exact cost of $6102.01. See Handle 3D Secure configuration errors below. |
| Windcave (formerly Payment Express) | Ready | Pre-auth integration. |
| Adyen | Ready | Pre-auth integration; the SCA prompt is given to the customer when their token is created. See Handle 3D Secure configuration errors below. |
| BlueSnap | Ready | Pre-auth integration; the SCA prompt is given to the customer when their token is created. See Handle 3D Secure configuration errors below. |
If your signup workflow immediately creates a Subscription and you know the amount of the first charge (including taxes, discounts, etc.), you can pass this amount to be used for SCA verification, using either a config option or a text field. If an SCA challenge is necessary, the modal presents the threeDSVerificationAmount provided to Maxio.js. If no amount is provided, $1 is displayed.
3DS verification amount provided via config option:
<script>
var chargify = new Chargify();
chargify.load({
// ...
threeDSecure: true,
threeDSVerificationAmount: '99.00',
});
</script>3DS verification amount provided via text field:
<div id='chargify-form'>
<input
data-chargify='threeDSVerificationAmount'
value='99.00'
readOnly
hidden
/>
</div>CyberSource, Adyen, and BlueSnap all support an optional second callbacks argument with an onThreeDsConfigError callback:
<script>
const chargify = new Chargify();
const options = {
threeDSecure: true, // Enable 3D Secure
// (...)
}
const callbacks = {
onThreeDsConfigError: function(error) {
console.error(error);
}
}
chargify.load(options, callbacks);
</script>It's possible to use the API for creating Subscriptions as well as updating payment methods. Unless you are PCI compliant, raw card data should not be passed through Advanced Billing's API; instead, use Maxio.js to tokenize the information first.
When creating a Subscription with Maxio.js, pass a chargify_token under the credit_card_attributes or bank_account_attributes objects.
| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | Post-auth gateway; the API call to create a Subscription prompts for SCA if the bank requires it. See Advanced Billing's API documentation for an in-depth overview of Stripe workflows. |
| Braintree | Ready | Pre-auth gateway. |
| CyberSource | Ready | Pre-auth gateway. |
| Windcave (formerly Payment Express) | Ready | Pre-auth gateway. |
| Adyen | Ready | Pre-auth gateway. |
| BlueSnap | Not ready |
See Understand PSD2, SCA, and 3DS for background on how SCA affects API-created transactions.
| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | No additional steps are required. |
| Braintree | Ready | No additional steps are required. |
| CyberSource | Ready | A billing address is required on the credit card, and the product must have an exact cost of $6102.01. |
| Windcave (formerly Payment Express) | Ready | No additional steps are required. |
| Adyen | Ready | No additional steps are required. |
| BlueSnap | Ready | No additional steps are required. |
| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | No additional steps are required. |
| Braintree | Ready | No additional steps are required. |
| CyberSource | Ready | A billing address is required on the credit card, and the product must have an exact cost of $6102.01. |
| Windcave (formerly Payment Express) | Ready | No additional steps are required. |
| Adyen | Ready | No additional steps are required. |
| BlueSnap | Ready | No additional steps are required. |
| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | |
| Braintree | Ready | |
| CyberSource | Ready | A billing address is required on the credit card, and the product must have an exact cost of $6102.01. |
| Windcave (formerly Payment Express) | Ready | |
| Adyen | Ready | |
| BlueSnap | Ready | No additional steps are required. |
Pay Invoice Online: https://subdomain.chargifypay.com/invoices/pay/2j993s65f4n4jn75c92mgjst| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | No additional steps are required. |
| Braintree | Ready | No additional steps are required. |
| CyberSource | Ready | A billing address is required on the credit card, and the product must have an exact cost of $6102.01. |
| Windcave (formerly Payment Express) | Ready | No additional steps are required. |
| Adyen | Ready | No additional steps are required. |
| BlueSnap | Ready | No additional steps are required. |
| Gateway | Status | Notes |
|---|---|---|
| Stripe | Ready | No additional steps are required. |
| Braintree | Ready | |
| CyberSource | Ready | A billing address is required on the credit card, and the product must have an exact cost of $6102.01. |
| Windcave (formerly Payment Express) | Not ready | |
| Adyen | Ready | No additional steps are required. |
| BlueSnap | Ready | No additional steps are required. |
For an overview of testing and implementing 3D Secure, see Test and Implement 3D Secure.
Still need help?
Reach out and our support team will take it from here.