#ledev-fou-fou-fou_best-practices

1 messages ¡ Page 1 of 1 (latest)

wraith etherBOT
#

👋 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.

gritty sluice
#

hi there!

#

you basically have two options: create a free trial, or use billing_cycle_anchor: 'now'

blissful sundial
#

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!

gritty sluice
blissful sundial
#

which webhook notifies the end of resume_at on pause_collection?

gritty sluice
#

I think you should receive an customer.subscription.updated

blissful sundial
#

customer.subscription.resumed ?

gritty sluice
#

Only applies when a status=paused subscription is resumed, not when payment collection is resumed.

#

does your Subscription has status=paused?

blissful sundial
#

not only fundraising with pause_collection.behaviour.void

gritty sluice
#

if not, then you should listen to customer.subscription.updated

blissful sundial
#

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?

gritty sluice
#

again, I would recommend you to test this in test mode to see exactly how that works.

blissful sundial
#

ok thanks