#Anne Sofie

1 messages · Page 1 of 1 (latest)

rare surgeBOT
analog lynx
serene mesa
#

thanks 😄

serene mesa
#

I have another question about the 3D secure integration we made, would it be the right place for asking here

oblique drift
#

Sure, what's the Q?

serene mesa
#

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??

oblique drift
#

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.

serene mesa
#

but the ones who dont get redirected, can not pay for an order

oblique drift
#

Do you have an example pi_xxx ID I can look at?

serene mesa
#

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",

Learn more about error codes and how to resolve them.

oblique drift
#

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?

serene mesa
#

yes this was one who didn't get redirected to the 3DS site so she could fill in the information.

oblique drift
#

How do you handle requires_action statuses returned from the API? I can't see any attempt to actually initiate the 3DS flow

serene mesa
#

"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"

oblique drift
#

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?

serene mesa
#

Just asked him if he's available.

#

he cant join now but he said this

oblique drift
#

Really we need to speak with the developer who manages your Stripe integration directly

#

We can pick up this conversation when they're available

serene mesa
#

okay thanks