#cnguyen-3ds-later-payment
1 messages · Page 1 of 1 (latest)
Two
I will try to explain more precisely
I want to make an authorize with the first transaction with 3DS (create a customer id with his payment_method and set to offline for later). If the 3DS is good, I receive an authorize.successful. Right ?
After, I received the auth.successful, I want to make an authorize of £XX off-session with the same card. I have an other event webhook to say me if it's OK? I which one?
Then, if the 2nd authorize is failed (for example, need 3DS or insufficient funds), I cancel the both transactions. The first and the 2nde one.
But if it's OK, I capture the 1rst transaction, then handle the payment_intent.successful. Then, I will capture the 2nde transaction in 7 days.
And do I have a diffrent wehbook for an authorize successfull and an capture successful?
@forest wagon
👋 I am taking this from @forest wagon , let me catch up for a moment
thank you
So this is two separate authorizes and captures?
Yes this should be possible if you use setup_future_usage on the first authorization https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage
Then you can use the same PaymentMethod for the second PaymentIntent
And let me get the specific webhooks that you will see. One moment
You will get payment_intent.amount_capturable_updated for each of the times you capture these funds and payment_intent.succeeded when you actually capture the funds