#Benoît
1 messages · Page 1 of 1 (latest)
So if you need to create 2 subscriptions, you could set up the card for future use: https://stripe.com/docs/payments/save-and-reuse
Then create both subscriptions on the backend
Thank you
I use a Payment Element form. Is it possible to setup de payment method from it ?
For now, il create a subscription, get the Payment Intent client_secret from the invoice, and pass it to stripe.ConfirmPayment()
Interesting, thank you.
Does stripe.confirmSetup() open a 3D Secure window if needed, and before any payment ?
Yes
Ok. Is this possible to chain the payment of my 2 subscriptions without having to wait the stripe.confirmSetup() response or do it myslef manualy in a second time ? I don't see anything for this on the docs
it would not be a problem for me to do this in a second time if i was sure that my customer would not be redirect on a success page. Indeed, in this case i would have lost the plans he wanted to subscribe to
Setupintent has nothing to do with the 2 subscriptions
You'd set up the payment method by calling confirmsetup
And then create both subscriptions on the backend
so i have to register somewhere the plans my customer wants to subscribe to, and do this in a second time
Yep
There's not a way for them to subscribe to 2 plans in 1 go the traditional route
ie. grabbing the subscription's payemnt intent client secrets and passing those to the payment element
You can only do 1 at a time that way. So, the setupintent is a workaround
Yes 😦
That allows you to collect paymetn once and then create subscriptions later
Yes. I have no problem with the Setup Intent way, but it would be a problem if my user has a page refresh because of the redirect_url;