#dammyola

1 messages · Page 1 of 1 (latest)

gray spindleBOT
steel vapor
#

Hello!

Is this the guide I should be reading.
It depends on what your definition of 'pause' is. Can you elaborate on what behaviour you want exactly?

#

If yes, which of the option fits my need
Depends entirely on your business needs! If it's paused and the intention is to not allow them to use your service then I guess c

I realized I can set resumes_at at the pause_collection, is it also possible to set the date the pause should take effect, because our members can decide to pause the subscribe within a date range E.g From 16th - 31st of oct 2023
No, you can't schedule the pause

Does the current_period_end of the subscription also changes since the subscription won't end on that date again?
I'm not 100% but I would imagine it'll be reset when you actuall resume the subscription. SHould be easy enough for you to test!

Does the status changes to 'paused'
It would be paused until the resumes_at timestamp yes

If none of these happens, what happens? And how do I know if the subscription is paused and what is the new current_period_end
Don't understand the question, but status: 'paused' would be on the Subscription

finite hare
finite hare
steel vapor
#

Do my answers above help?

finite hare
steel vapor
#

Remainds the same when? Got an example?

finite hare
#

Example, you mean the code?

#

The status doesn't change to 'paused', it remains 'active'

steel vapor
#

No, an example sub_xxx you've tested it on

steel vapor
finite hare
gray spindleBOT
finite hare
#

This is the subscription id: "sub_1O0n8aHRjtpT0GYpS9FwaGiv"

languid rapids
#

👋 taking over for my colleague. Let me catch up.

finite hare
#

The change I noticed is this "pause_collection": { "behavior": "void", "resumes_at": 1698796799 },

#

The status still remains active "status": "active",

celest spear
#

Hi! I'm taking over this thread. Give me a few minutes to catchup.

#

Can you clarify what is your question exactly about this Subscription?

finite hare
#

How to pause a subscription on Stripe.

Hello Stripe

We are building a fitness platform where members can subscribe to different packages.
Depending on their subscription, they can book a trainer for a session or join a class.

They (members) might not be available for training for a specific period, so we want them to pause their subscription for that time range
I've read this guide (https://stripe.com/docs/billing/subscriptions/pause).
But I still have some questions.

Is this the guide I should be reading.
If yes, which of the option fits my need
a. Offer services for free
b. Temporarily offer services for free and collect payment later
c. Unable to provide services
I was of the view it's the third option, let me know if I chose the right option.
I realized I can set resumes_at at the pause_collection, is it also possible to set the date the pause should take effect, because our members can decide to pause the subscribe within a date range E.g From 16th - 31st of oct 2023
What happens after setting pause_collection.behavior = 'void' and resumes_at?
a. Does the current_period_end of the subscription also changes since the subscription won't end on that date again?
b. Does the status changes to 'paused'
c. If none of these happens, what happens? And how do I know if the subscription is paused and what is the new current_period_end

Side note, I'm using NodeJs.

celest spear
#

I've already read this message, and I think ynnoj answered everything

#

So let me know if you have any remaining questions

finite hare
#

I want to know what happens after a subscription is paused after stripe.subscriptions.update('sub_xxxxx', { pause_collection: { behavior: 'void', resumes_at: "454652616" // This a random number to represent the resume at. }, })

celest spear
#

What do you mean by "what happens"? What do you want to check exactly?

finite hare
#

I'm interested in knowing:

  1. When a subscription is paused. This will allow us to stop providing service to the customer within that period.
  2. Since the subscription was paused for a period, when does the subscription ends. Ideally, if the subscription was paused for 5 days, their should be an additional 5 days added to the days the subscription was supposed to end.
celest spear
#
  1. No that's not how pausing works. The billing period of the subscription won't change.
#

If you want to change the billing period, then maybe instead of pausing the subscription, you could add a free trial to it.

finite hare
#

"If you want to change the billing period, then maybe instead of pausing the subscription, you could add a free trial to it."

#

How does it work, can you explain?

celest spear
finite hare
#

Sounds like what I'm looking for, let me check it out.

#

Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value now can be provided to end the customer’s trial immediately. Can be at most two years from billing_cycle_anchor.

In our case, the customer has been charged for their subscription, but wants to pause or preserve their subscription within a period, will this work with our use case?

celest spear
#

Yes it will work. And once more, please try to test this in test mode with Test Clock to make sure it works as you expect.

finite hare
#

Thank you.

#

I have an entirely different question, can I ask it in this thread?

celest spear
#

yes sure!

finite hare
#

Renew a subscription
This is my defination for renewing a subscription.
I subscribed to a package of $100 monthly subscription, at the end of my current subscription, I re-subscribe to the same package.

My questions.

  1. What happens on Stripe when this happens?
  2. Does a new subscroption get created for the customer or the current_period_end of the customer changes to a new date?
celest spear
#

at the end of my current subscription, I re-subscribe to the same package.
what does that mean exactly? you let the existing subscription renew? or start a new one? or something else?

#

By default, at the ebnd of the billing cycle, the subscription will jsut renew automatically and continue forever

finite hare
#

"at the end of my current subscription, I re-subscribe to the same package.
what does that mean exactly? you let the existing subscription renew? or start a new one? or something else?
"

Say I subscribe to a Pro plan of $100, I love the service, I don't want to cancel it, so at the beginning of the next month, I continue or re-subscribe to the same Pro plan of $100.

celest spear
#

you don't "re-subscribe". You do nothing, and the subscription wil automatically renenew and you will get charged $100.

finite hare
#

If the subscription get renewed automatically, how do I get to know as a developer?

How do I know if I should continue providing service to this customer on my platform?

celest spear
finite hare
#

Thanks, this guide sounds like what I'm looking for.

celest spear
#

Happy to help 🙂

finite hare
#

Another question.

If a customer cancel a subscription, what happens?

#

After the subscription get cancelled.

celest spear
#

The status will become canceled and the Subscripiton will stop generating new invoices.

finite hare
#

Does Stripe refund the customer?

celest spear
finite hare
#

Can you explain what an unused balance means?

celest spear
#

If you cancel a monthly subscription after 15 days, then there would be 15 days that the customer didn't use. So 50% of the amount they already paid will be added to the Customer Credit Balance.

gray spindleBOT
finite hare
#

Thank you @celest spear for all your answers. They were helpful.