#scootee
1 messages · Page 1 of 1 (latest)
Hello! Not sure what you mean by search. Can you tell me more about what you're trying to do?
for example, I'm using the stripe-php library to do the following, find payment intents of $status
$stripe->paymentIntents->search([
'query' => "status:\"$status\"",
]);
is there a way to query for payment intents that have 3D secure protection:
Ah, gotcha. No, there isn't. All of the query fields are documented here, and there isn't one for 3D Secure: https://stripe.com/docs/search#supported-query-fields-for-each-resource
I see
follow up question, this payment intent we created in test mode had 3D secure attempt recorded: pi_3NOlvjDSR3PVsRbH21pLvH0k
do you know why it isn't the case in any production payments? example: pi_3NOnw8DSR3PVsRbH16e0v2ZI
Looks like nothing on the production Payment Intent requested or required 3D Secure, or the card issuer doesn't support 3D Secure, so 3D Secure didn't happen.
If you retrieve the Payment Method from the API and look at card.three_d_secure_usage what do you see? https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-three_d_secure_usage
we're creating the payment intent with the following option:
"payment_method_options": {
"card": {
"request_three_d_secure": "any"
}
from the docs:
When you set request_three_d_secure to any, Stripe requires your customer to perform authentication to complete the payment successfully if 3DS authentication is available for a card. If it’s not available for the given card, the payment proceeds normally.
lemme try, sec
Yep, request_three_d_secure is just that, a request. There's no way to force 3D Secure.
gotcha, we're just wondering if we're doing something incorrect since we can't seem to find a customer with 3D secure attempted like we had seen in test mode
Are most of your customers in the US?
yes
That's probably why. 3D Secure is mostly not a thing in the US.
Some card issuers support it, but many don't.
Looks like there are some though. pi_3NOoWZDSR3PVsRbH2wUkaEm6 for example.
If you want to find them the easiest way would be to look for payment_intent.requires_action Events.
Look here in your Dashboard: https://dashboard.stripe.com/events?type=payment_intent.requires_action