#Karan28-subscription

1 messages · Page 1 of 1 (latest)

sturdy cradle
#

That's not really the recommended way, no. Why do you need to create a Setup Intent first if you intend to immediately create a Subscription?

flat falcon
#

No ,Oh sorry I forget to mention that I'm going to create a scheduled subscription

sturdy cradle
#

What's the use case for the schedule?

#

Generally that's the best way to create a schedule that doesn't start immediately (and therefore the subscription isn't created right away)

flat falcon
#

User will generally pass start date and As I mentioned will check if payment method exist user can select from that else create new by creating setupIntent

sturdy cradle
#

Then that should work, yes. But it's worth remembering that the initial delayed subscription payment could still required 3DS/auth despite the previous Setup Intent

#

So you need to be mindful of that when building your flow as you made need to bring customers back on session to complete payment

flat falcon
#

Sorry, But didn't get your point.
Can you please explain in detail

sturdy cradle
#

Your subscription will start at a later date because of the schedule, and its likely your customer/user will be off-session when the initial payment on the subscription is processed. There's a chance the bank will request 3DS/auth for that payment, and as your user is off-session you'll need to bring them back online to handle the auth request.