#thatcantberight - Checkout session
1 messages · Page 1 of 1 (latest)
No, if using Checkout you don't create the subscription ahead of time, Checkout does that for you when you use subscription mode and pass recurring price items.
Why are you trying to do this the way you've described? WHat are you trying to do?
We have a BillingSubscriptions table in our db that we use to control users' access to site features, based on the Product/Price they're subbed to. The local BillingSubscription object records the stripe Subscription id. It would be nice to create the Stripe Subscription via API and immediately use the returned id to create the BillingSubscription. But we can move this creation to the webhook listener.
Yes, that's what we recommend. This should be deferred until after the checkout session successfully completes.
Roger that. Thanks for confirming!
NP!