#ledev-fou-fou-fou_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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/1428336505318801533
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- ledev-fou-fou-fou_best-practices, 1 hour ago, 7 messages
hi there!
we explain how to update the billing cycle of existing subscription here: https://docs.stripe.com/billing/subscriptions/billing-cycle#changing
you basically have two options: create a free trial, or use billing_cycle_anchor: 'now'
My question: If I update billing_cycle_anchor when the subscription resumes from a pause, will it:
- Generate an immediate invoice? - Create credits or prorations?
- Or will it just update the cycle without any charges (with proration_behavior: 'none')?
I want the subscription to restart at full price on the new billing cycle without any credits or immediate charges.
Context: Yearly subscription paid Jan 1st, customer gets 3 free months in June, pause until April 1st (next year), then I want billing to restart from April 1st for the next year.
Thanks!
for this types of question, I recommend testing this yourself. which you can easily do using Test Cloks: https://docs.stripe.com/billing/testing/test-clocks
which webhook notifies the end of resume_at on pause_collection?
I think you should receive an customer.subscription.updated
customer.subscription.resumed ?
Only applies when a status=paused subscription is resumed, not when payment collection is resumed.
does your Subscription has status=paused?
not only fundraising with pause_collection.behaviour.void
if not, then you should listen to customer.subscription.updated
ok but how will customer.subscription.updated tell me that resume_at is finished? will it just take away pause_collection for me? so compared to another subscription update, how do I spot it?
in all *.updated events, you get a previous_attributes object so you can see exactly what changed. https://docs.stripe.com/api/events/object#event_object-data-previous_attributes
again, I would recommend you to test this in test mode to see exactly how that works.
ok thanks