#foodsafe_39500
1 messages ยท Page 1 of 1 (latest)
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.
- foodsafe_39500, 9 hours ago, 10 messages
- foodsafe_39500, 6 days ago, 2 messages
Hi there!
How are you creating the Subscriptions? With Checkout Session, the Subscription endpoint, something else?
i am creating the subscription using:
stripe.subscriptions.create
Then you can use coupon to achieve what you want: https://stripe.com/docs/api/subscriptions/create?lang=node#create_subscription-coupon
awesome! thank you!
Happy to help ๐
i had a follow up question on a previous thread of mine. it is locked is it okay if i ask it here?
Sure, ask it here!
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 ๐
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.
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
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.