This page is part of the Payments Library Guides. Using the REST API instead? See REST API 3D Secure.
For general setup instructions, see Library Setup.
How It Works
- Card form opens
- Customer enters card details
- Library detects 3DS requirement based on CardPay eWallet specification and PSP integration status
- Authentication challenge displays (popup or iframe)
- Customer completes verification (password, SMS code, biometric, or app confirmation)
- Orchestra completes the requested operation
- On completion, the transaction results, including the 3DS data, are returned to the client, ready to be sent to your server for validation
When to Trigger 3DS?
You may want to use 3D Secure on your transactions in any of the following use cases:We recommend using 3DS to authenticate all transactions, even when not required. 3DS provides merchants with liability shift protection and peace of mind knowing that the payer has been fully and properly authenticated.
Supported Payment Methods
3DS Data in Results
After successful 3DS authentication and completion of the transaction, the result includes authentication data intokenAndMaskedCardModel.threeDS:
ThreeDS Fields
ECI Values
The ECI indicates the authentication result and liability:Handling 3DS Failures
If 3DS authentication fails, the payment will not complete. The callback receives a result withclientSuccess: false:
PSP Requirements
3DS requires a payment processor that supports 3DS connections. Not all PSPs support 3DS for all card types. See the list of integrations that support 3DS. When configuring your PSP in Orchestra, ensure:- PSP supports 3DS (check with your provider)
- 3DS credentials are configured in your PSP account
Frictionless vs. Challenge Flow
3DS 2.x supports two flows:
The library handles both flows automatically. Frictionless authentication completes without user interaction when the issuer’s risk assessment allows it.
Related
Supported Payment Methods
CardPay, ApplePay, GooglePay, PayPal, BankPay, UPI
Result Handling
Parse and validate payment results
Library Reference
Full API reference
PSP Setup
Configure payment processor