#CheerfulGolem
1 messages · Page 1 of 1 (latest)
Hi 👋 Setup Intents + Subscription Schedules is the exact approach I would recommend for this scenario.
Ah okay, with Subscription API, you can get the clientSecret from the latest invoice for Stripe Elements but with SubscriptionSchedule, I couldn't find a way to get the clientSecret because it seems there isn't any invoice? Is that why we have to go with Setup Intent + Subscrption Schedule approach?
We are using that method already, but just curious if there any other approaches
Correct, Subscription Schedules don't actually create the underlying Subscription object until the scheduled start date, so there won't be an Invoice to pull a client secret from until that point in time. Setup Intents would allow you to collect those payment method details immediately though, before the Subscription is created.
I see, that makes sense, thanks
Any time!