#taviksha-akar_api

1 messages ยท Page 1 of 1 (latest)

formal veldtBOT
#

๐Ÿ‘‹ 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/1318508483863253053

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

graceful meadow
#

๐Ÿ‘‹
No you can't, you should create a new one.

solar turtle
#

But in our business logic, instead of creating a new one, we need to use the current subscription. Is there no way to do ?

graceful meadow
#

Why you want to use the current Stripe Subscription Object ?

#

You can keep the same Subscription in your businesss/integration but have a different Stripe Subscription Ids

#

For example, given you have a canceled Stripe Subscription that is mapped to a Subscription Table in your own databse. If you want to re-activate that Subscription, you create a new Stripe Subscription and update its ID in your Subscirption Table in your database.

solar turtle
#

Yes, but on the cancelled subscription, I have invoices and other things linked so we need to show those invoices also so we can't just override the cancelled subscription id

graceful meadow
#

In that case you need to update your Database schema to support 1-N relationship

#

Which you can keep tracking of all Stripe Subscirpitons related to a single Subscirption in your business/integration

solar turtle
#

ok thanks.