#Pdot-subscription-limited-months
1 messages ยท Page 1 of 1 (latest)
yeah sorry, I tyed that wrong
all good.
Yes its possible. You can create a subscription schedule that ends after 3 monthly iterations
https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#installment-plans
Okay cool, thank you
this is probably a dumb question but is stripe.checkout.session simliar / same to stripe.SubscriptionSchedule.create ?
they're different products ๐
One creates a Stripe Checkout session vs the other creates a subscription
This is Stripe Checkout: https://stripe.com/docs/payments/checkout
for single one time payment, use - strip.checkout.session and for subscription - use stripe.SubscriptionSchedule.create ?
Stripe checkout can also handle subscriptions payments.
Stripe Checkout helps you accept the payments with a low-code integration (one-time, recurring)
can you give any insight on using stripe.checkout with using subscriptions ?
any article or blog?
Yup
Here's a guide: https://stripe.com/docs/billing/subscriptions/build-subscriptions
Here's an example project: https://github.com/stripe-samples/checkout-single-subscription
thank you for this
just last question, is iterations of subscriptions possible by using stripe.checkout ? or am I required to use stripe.SubscriptionSchedule.create
I don't think Stripe Checkout supports it by default
But you can start a subscription and then create a schedule for it
https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
I am fairly new to stripe, my scenario is to create a subscription with an iteration of 3 months. Would you reommend doing stripe.checkout or stripe.SubscriptionSchedule.create ?
iteration as in stop after 3 months btw sorry
No worries, let me summarize the differences here as I feel there's some confusion ๐
Stripe checkout allows you to accept payments from your users for one-time or recurring charges. So its a product that provides the interface that your customers will interact with in order to pay for something (ie. a subscription).
Subscription Schedule allows you to control life-cycle of a subscription. You can either create a new subscription using subscription schedules and manage its lifecycle OR you can start schedule for an existing subscription.
Stripe Checkout currently doesn't support creating a subscription by default. So if you do want to use Stripe Checkout then you'd need to do following
- Create a Checkout Session, Ask your customer to pay and start a subscription
- And then Create a Subscription Schedule for the existing subscription
The other option is to building a custom-code integration (instead of using Stripe Checkout) that can work with subscription schedule directly
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
ahh okay that makes alot of sense now.
This came up fairly quick, so I think creating the payment first with checkout session and then creating the scehedule makes more sense
I'll give that go, and see how it turns out
Thank you for the detailed explanation
makes things much clear
NP! ๐ Good luck
Happy to help
Hi Hanzo, very quick question if you're still avaliable. When creating a stripe.checkout and passing line items - does the price : {{price_id}} have to be created beforehand as a product? Or can you pass any product using price_data
I am recieving the following Request req_iahOe5hMHqlj9Z: You must provide at least one recurring price in subscription mode when using prices.