#Miran-Subscription
1 messages · Page 1 of 1 (latest)
Okay, I appreciate your help. 😃
Could you rephrase the question? Is that you want to pause a Subscription?
I want to send a future pause request to stripe...
Currently I can pause subscriptions that starts on the same day as the request.
So I need to use a cron job which is not the best thing my team wants to use for that.
But why do you want to pause a Subscription after create it?
out of curiosity
to "pause" a subscription normally requires the Subscription is already existed
Are you creating a Subscription and immediately Update it and send out pause_collection? I think it's okay-ish to do that, beside the reason why you would need such a scenario
In our platform we let our experts take vacations, so we don't want to charge them during that.
We normally charge them monthly but not when they don't want to use our platform and make any revenue.
Ah I see, okie
And you don't want to change the billing cycle date?
To keep the Subscription starts on predict time, not change to when they end their vacation and come back?
I don't have any requirement for cycle date... what I want to do is instead of pausing customer subscription plan through cron job which pauses immediately, I want to send an request to stripe which will be executed by stripe to pause the subscription in the future.
I have followed this page for that https://stripe.com/docs/billing/subscriptions/pause
Can we send a start_date or something similar in the pause_collection ?
No we can't, all the possible parameters is listed here: https://stripe.com/docs/api/subscriptions/update#update_subscription-pause_collection
You mean by the time of Updating the Subscription, you want to sort of scheduling a Pause?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would you know when do you want to pause, in the time of Creating Subscription instead?