#Pdot-subscription-limited-months

1 messages ยท Page 1 of 1 (latest)

lapis mulch
#

Hello ๐Ÿ‘‹
Do you mean end the subscriptions after 3 months?

plain quail
#

yeah sorry, I tyed that wrong

lapis mulch
plain quail
#

Okay cool, thank you

#

this is probably a dumb question but is stripe.checkout.session simliar / same to stripe.SubscriptionSchedule.create ?

lapis mulch
plain quail
#

for single one time payment, use - strip.checkout.session and for subscription - use stripe.SubscriptionSchedule.create ?

lapis mulch
#

Stripe checkout can also handle subscriptions payments.

#

Stripe Checkout helps you accept the payments with a low-code integration (one-time, recurring)

plain quail
#

can you give any insight on using stripe.checkout with using subscriptions ?

#

any article or blog?

plain quail
#

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

lapis mulch
plain quail
#

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

lapis mulch
#

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
plain quail
#

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

lapis mulch
#

NP! ๐Ÿ™‚ Good luck
Happy to help

plain quail
#

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.