#rizvan_api

1 messages ¡ Page 1 of 1 (latest)

tepid forgeBOT
dark kettleBOT
#

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.

tepid forgeBOT
#

👋 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.

honest pollen
#

What do you mean " validity for the subscription" ?

fast tinsel
#

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?

honest pollen
#

Is it about when will the next renewal start?

fast tinsel
#

Yes

#

and till when will this continue?

honest pollen
fast tinsel
#

So is there a way to set the validity until when can this renewal continue

honest pollen
#

I still don't quite undersatnd what you mean by validity

#

Are you looking for a way to automatically cancel a subscription ?

fast tinsel
#

Yes automatically cancel the recurring billing while creating the price using create price API

#

Set the date to cancel the subscription

honest pollen
fast tinsel
#

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?

honest pollen
fast tinsel
#

Do we get a subscription object while creating a checkout session?

honest pollen
#

No

fast tinsel
fast tinsel
honest pollen
#

A subscription will be created after the checkout session is completed successfully, and then you set the cancel_at

fast tinsel
#

how can I get the subscription ID after the checkout session is successfully completed?

honest pollen
honest pollen
#

Sure, you can set interval to month and interval_count to 3 for quarterly renewings