#wsnookum_api

1 messages · Page 1 of 1 (latest)

sonic valleyBOT
#

đź‘‹ 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/1265880429102108672

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

wary yacht
tame spindle
#

Yes that one

#

It doesn't execute successfully for a subscription with paused collection.

sonic valleyBOT
tame spindle
#

From StripeGPT, it says that ResumeAsync() resumes a subscription with paused collection

scarlet steeple
tame spindle
#

Stripe.StripeException : You can only resume a subscription if it is paused.

#

req_CFn3TnH51J8RZp

#

Is ResumeAsync() used for resuming a subscription with paused collection?

#

If not, what is it used for? And how do we get to it to pause?

scarlet steeple
#

Thanks for sharing the request ID. Checking it now

#

Pausing payment collection and subscription status with paused are two different things: https://docs.stripe.com/api/subscriptions/object#subscription_object-status

The paused status is different from pausing collection, which still generates invoices and leaves the subscription’s status unchanged.

Resume Subscription API only works when the subscription status in paused. However, sub_1PgIt6F6S39kYAQZzi4Iy33l only pauses payment collection, but its status still in active.

If you wish to unpause the payment collection, Resume Subscription API shouldn't be used. I'd recommend checking the guide here to unpause the payment collection with Update Subscription API: https://docs.stripe.com/billing/subscriptions/pause-payment#unpausing

Learn how to pause payment collection on subscriptions.

tame spindle
#

How do you pause a subscription though? The pause where ResumeAsync() executes successfully?

scarlet steeple
tame spindle
#

I see. So, Paused state occurs only if the subscription doesn't get paid in time. Then to resume a paused collection, we just unset Pause_Collection property with Update subscription. Is it correct?

scarlet steeple
#

paused status only happens when the payment method is not set onto the subscription when the trial ends.

to resume a paused collection, we just unset Pause_Collection property with Update subscription. Is it correct?
Yes, correct!

tame spindle
#

Thanks! That's all.