#awais_api

1 messages ¡ Page 1 of 1 (latest)

frank mountainBOT
#

👋 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/1242394727295352883

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

rough aspen
#

Error reactivating subscription: StripeInvalidRequestError: A canceled subscription can only update its cancellation_details.
0|quizwiz | at Function.generate (/home/bbb/QuizWizBackend/node_modules/stripe/cjs/Error.js:10:20)
0|quizwiz | at res.toJSON.then.Error_js_1.StripeAPIError.message (/home/bbb/QuizWizBackend/node_modules/stripe/cjs/RequestSender.js:105:54)
0|quizwiz | at processTicksAndRejections (node:internal/process/task_queues:95:5) {
0|quizwiz | type: 'StripeInvalidRequestError',

dusk tartanBOT
nimble grove
nimble grove
#

Thanks for sharing, checking..

rough aspen
#

ok thanks

nimble grove
#

The subscirpiton was canceled already at 2024-05-20 08:37:59 UTC while you are making this request today 2024-05-21 08:34:25 UTC

#

, I would like to cancel this cancellation or resume the subscription
You can cancel the cancelation schedule

rough aspen
#

i know it was cancled but i want to cancel the canclation

nimble grove
#

but once the subscription is canceled

#

you need to create a new one

rough aspen
#

i want to resume that subscription

nimble grove
#

No you can't. You need to create a new one.

rough aspen
#

there is no way that we can resume a cancelation subscription?

rough aspen
#

it is marked as canceled but in real it will cancel at the end of the billing cycle

#

I am working on a app with a feature that if user has canceled the subscription he/she can resume that subscription but when user canceled the subscription it will mark as cancel at period end, what is the work around for this type of feature? what stripe suggest in this scenario?

dusk tartanBOT
nimble grove
#

If the customer want to cancel the cancelation, then you update the phases with more iterations

rough aspen
#

ok let me check if something is wrong on my side i am fetching the subscription list from stripe with active status i think there is mistake i should fetch mark as canceled to resume