#foodsafe_39500

1 messages ยท Page 1 of 1 (latest)

calm knotBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

dapper herald
#

Hi there!

#

How are you creating the Subscriptions? With Checkout Session, the Subscription endpoint, something else?

proud frost
#

i am creating the subscription using:

stripe.subscriptions.create
dapper herald
proud frost
#

awesome! thank you!

dapper herald
#

Happy to help ๐Ÿ™‚

proud frost
#

i had a follow up question on a previous thread of mine. it is locked is it okay if i ask it here?

dapper herald
#

Sure, ask it here!

proud frost
#

for context this was my previous message:

hello, i am having trouble understanding how to create a subscription that is charged quarterly, but renews on a yearly basis. I don't know if that is possible.
for example userA purchases a quarterly subscription. I am currently creating that price like this:
const price = await stripe.prices.create({
unit_amount: 12000, // $120 every quarter
currency: 'usd',
recurring: { interval: 'month', interval_count: 3 },
product: stripeProductId
})

#

i sort of led with that was the way i was creating a quarterly subscription price, but wanted to make sure if there wasn't a way to create a yearly price that was billed quarterly?

#

it would simplify the cancellation process ๐Ÿ˜…

dapper herald
#

I don't understand what it would mean for the quarterly Subscription to renew on a yearly basis.
If customer pays quarterly, then the Subscription will automatically renew every quarter.

#

If the customer pays yearely, then the Subscription will renew every year.

proud frost
#

ah ok. i just wanted to make sure there wasn't another way of doing that. for example when you purchase a phone plan the contract is for a year, but they charge you every month

dapper herald
#

No that's not possible. The Subscription automatically renews when the billing cycle ends. And then it's up to you how/when the customer can cancel their subscription.