#rizvan_api
1 messages ¡ Page 1 of 1 (latest)
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.
- rizvan_webhooks, 6 days ago, 29 messages
- rizvan_api, 6 days ago, 12 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1239829654916038686
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What do you mean " validity for the subscription" ?
meaning when will the recurring billing stop?
for example if I am creating a price for monthly billing till what date will the billing happen?
Is it about when will the next renewal start?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
https://docs.stripe.com/api/prices/create#create_price-recurring I am creating price using this
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So is there a way to set the validity until when can this renewal continue
I still don't quite undersatnd what you mean by validity
Are you looking for a way to automatically cancel a subscription ?
Yes automatically cancel the recurring billing while creating the price using create price API
Set the date to cancel the subscription
https://docs.stripe.com/billing/subscriptions/subscription-schedules you can achieve it by using subscritpion schedule
the requirement is that.... I am creating a checkout session and we have a subscription product
now how we set the end date of the subscription?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Do we get a subscription object while creating a checkout session?
No
Also I could just see month,week and year in the recurring interval https://docs.stripe.com/api/prices/create#create_price-recurring can we even have quarterly and semi yearly intervals?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
then how can we set the cancel subscription date here?
A subscription will be created after the checkout session is completed successfully, and then you set the cancel_at
how can I get the subscription ID after the checkout session is successfully completed?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this?
Sure, you can set interval to month and interval_count to 3 for quarterly renewings