#popchenk
1 messages ยท Page 1 of 1 (latest)
๐ Hi there, Happy to help!
It depends on your integration, but you should ask the user to complete authenticating his card. One of the options is to use Stripe JS:
https://stripe.com/docs/js/payment_intents/handle_card_action
Is there like maybe a webhook, that is gonna give me some kind of link, that we can send to the customer? Because looking at the payment_intent.requires_action data, there is some kind of property called : three_ds_method_url, maybe that will be usable ?
We are currently using the Stripe Checkout workflow.
Also I would really like to use these automatic emails, but I guess it only works if u have the automatic flow setup (subscriptions or invoices) as I am not getting the emails, when 'requires_action' occurs.
Yes, there is this event payment_intent.requires_action you can listen to whenever a PaymentIntent requires action
https://stripe.com/docs/api/events/types#event_types-payment_intent.requires_action
Ye, I can see that, is there like a description of the event, that describes each property, that can tell me what they are for? Because I really do not understand what each of them are for. ๐
is it possible to get the 3D auth link from that event ?
That event sends you a PaymentIntent Object, here is its attributes descriptor:
https://stripe.com/docs/api/events/types#payment_intent_object
It depends on the 3ds authentication requested by the bank, but yeah you can have the link in that response here in this field:
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action-redirect_to_url-url
ok last thing to ask, does this work with every 'next_action' mentioned here https://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action ?
https://stripe.com/docs/payments/3d-secure#when-to-use-3d-secure
Hi @silver ocean, I am trying to somehow implement the 3D secure auth, os4m helped me to connect some pieces together. And my question is if the 'next_action' property received in the 'requires_action' event is covered using this method : https://stripe.com/docs/payments/3d-secure#when-to-use-3d-secure .
What is your end goal here? To confirm PaymentIntents that are in a requires_action status?
yes