Advanced Card Payments, cannot get 3D Secure to work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are attempting to integrate Advanced Card Payments: https://developer.paypal.com/docs/checkout/advanced/
Our integration is working until we try to enable 3D Secure as per the instructions here: https://developer.paypal.com/docs/checkout/advanced/customize/3d-secure/sdk/
When we set:
contingencies: ['SCA_WHEN_REQUIRED']
we never get the 3D Secure lightbox.
When we set:
contingencies: ['SCA_ALWAYS']
we get the lightbox every time, but https://cors.api.sandbox.paypal.com/v2/checkout/orders/xxx/validate-payment-method returns the following error:
{
"name": "UNPROCESSABLE_ENTITY",
"details": [
{
"issue": "CONTINGENCY",
"description": "Buyer needs to resolve following contingency before proceeding with payment"
}
],
"message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
"links": [
{
"href": "https://www.sandbox.paypal.com/webapps/helios?action=verify&flow=3ds&cart_id=xxx",
"rel": "3ds-contingency-resolution",
"method": "GET"
},
{
"href": "https://developer.paypal.com/docs/api/errors/#contingency",
"rel": "information_link",
"method": "GET"
}
],
"debug_id": "e2dac6877334e",
"informationLink": "https://developer.paypal.com/docs/api/orders#errors"
}
When we catch the error in our code the error object is:
{
"code": "internal_service_error",
"description": "api_error"
}
I have tried using the test cards here: https://developer.paypal.com/docs/checkout/advanced/customize/3d-secure/test/ and also cards generated within our developer account.
Unfortunately this isn't the only issue we face when it comes to 3D Secure implementation, and it wasn't behaving this way the other day. However we cannot currently address other outstanding issues due to the above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Carrot3,
I have exactly the same problem when implementing Advanced Checkout with 3DSecure
https://developer.paypal.com/docs/checkout/advanced/customize/3d-secure/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For us, this problem seemed to go away on its own, but the test cards listed are completely wrong.
You could try these tests cards instead:
5232106671708398
5356660078288487
5356660030805261
We did eventually get our integration working, but it was one of the most painful experiences in 20 years of development.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Carrot3.
The first card number you listed will keep the contingency handler div in view, allowing me to enter the OTP for further testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm seeing the same behavior, but those test cards did not work for me when using the JavaScript SDK.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How do you create subscriptions with PayPal Advanced Checkout? in SDKs
- Advanced checkout and no 3DS information in the response in REST APIs
- Is PaymentPlugins an official PayPal partner ? in PayPal Payments Standard
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- Paypal Advanced Payment : 3d error in live in Sandbox Environment