#Anne Sofie
1 messages · Page 1 of 1 (latest)
👋 Thanks for reaching out
I invite you to reach out to support at https://support.stripe.com/contact in order to have more details about this
thanks 😄
I have another question about the 3D secure integration we made, would it be the right place for asking here
Sure, what's the Q?
We have an app where people pay for their food orders from the restaurant. when paying for the order with their credit/debit card, only some of the users get redirected to the 3D secure procedure and some dont. so far it has been random (cards, nationality, banks, etc) who does and who dont. have you heard about this problem before and do you have a solution. could it be a mistake in the code, eventhough it works for 60% of the users??
only some of the users get redirected to the 3D secure procedure and some dont
Sure, this is normally. 3DS is not a blanket rule and ultimately the issuing bank determines whether a payment requires authentication.
but the ones who dont get redirected, can not pay for an order
Do you have an example pi_xxx ID I can look at?
unfortunately im not the developer, but i will ask. give me a sec
{
"id": "pi_3LuCzeFf2QLqqCRJ0BIbiAAi",
"object": "payment_intent",
"last_payment_error": {
"code": "payment_intent_authentication_failure",
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-authentication-failure",
"message": "Der letzte Zahlungsversuch dieses PaymentIntent ist fehlgeschlagen oder wurde storniert und die verknüpfte Zahlungsmethode wurde entfernt. Sie können versuchen, die Bestätigung erneut mit einer neuen Zahlungsmethode durchzuführen.",
"payment_method": {
"id": "pm_1LuCzeFf2QLqqCRJohuhXJYr",
"object": "payment_method",
Taking a look
Is this an example of somebody who wasn't redirected?
Looks like 3DS was requested on that payment, but no attempt was made to actually authenticate it. How do you handle requires_action statuses returned from the API?
yes this was one who didn't get redirected to the 3DS site so she could fill in the information.
How do you handle requires_action statuses returned from the API? I can't see any attempt to actually initiate the 3DS flow
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": "8000",
"state": null
},
"email": null,
"name": null,
"phone": null
},
"card": {
"brand": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": "unavailable",
"cvc_check": "pass"
},
"country": "DK",
"exp_month": 9,
"exp_year": 2026,
"fingerprint": "UpqZLsC8wtVldCK7",
"funding": "debit",
"generated_from": null,
"last4": "3677",
"networks": {
"available": [
"mastercard"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1666088754,
"customer": null,
"livemode": true,
"metadata": {
},
"type": "card"
},
"type": "invalid_request_error"
},
"livemode": true,
"next_action": null,
"status": "requires_payment_method",
"amount": 38640,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": "ca_MGxtokf3Ue6vHNbLHfHv4VfjlCLUuxBv",
"application_fee_amount": 0,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"charges": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges?payment_intent=pi_3LuCzeFf2QLqqCRJ0BIbiAAi"
},
"client_secret": "pi_3LuCzeFf2QLqqCRJ0BIbiAAi_secret_uJuaFwf4MyKnbsGWXWyRrfGpr",
"confirmation_method": "automatic",
"created": 1666088754,
"currency": "dkk",
"customer": null,
"description": null,
"invoice": null,
"metadata": {
"orderId": "634e7f32b5c4501e36790cbe",
"restaurant": "Social Coffeeshop"
That's just a JSON blob from our API, it doesn't answer how you handle that response in your application
Is your developer able to join the server?
Really we need to speak with the developer who manages your Stripe integration directly
We can pick up this conversation when they're available
okay thanks