#abishek_best-practices
1 messages ¡ Page 1 of 1 (latest)
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.
- abishek_best-practices, 6 days ago, 29 messages
- abishek_best-practices, 6 days ago, 9 messages
đ 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/1219299238534709320
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Hi
If you just delete an item and the billing cycle doesn't change then it will prorate at the end of the cycle
Same logic as described in https://docs.stripe.com/billing/subscriptions/upgrade-downgrade as if you were updating a Subscription's items
what do you mean by prorate at the end of the cycle?
Like a proration item is created immediately and then it will be picked up at the next billing period
Really the best thing is to just test this stuff out using Test Clocks: https://docs.stripe.com/billing/testing/test-clocks
That will give you the best understanding of behaviors here
ok
if I pause or cancel a subscription at the end of the cycle, how can I cancel it?
so, we only offer our customers to pause or cancel the subscription at the end of the cycle.
Pausing the Subscription
'pause_collection' => [
'behavior' => 'void',
'resumes_at' => $pauseUntil->timestamp,
],
Cancel the Subscription
'cancel_at_period_end' => true,
'cancellation_details' => [
'feedback' => $reason,
'comment' => $additionalInfo,
],
If the customer doesn't want to cancel anymore after cancellation or pause the subscription after pausing it, how do I do it?
Oh
For "un-cancelling" you set cancel_at_period_end to false
For Pause Collection you set it to an empty string: https://docs.stripe.com/billing/subscriptions/pause-payment#unpausing
so, the un-pause is similar to resuming the subscription
Yes
when resume happens when does the customer get charged? will it use the original cycle?