#dorian_subscription-intervals-futurestart

1 messages ยท Page 1 of 1 (latest)

dry finchBOT
vital haloBOT
#

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.

dry finchBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248688193885176020

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

edgy oyster
#

Hi ๐Ÿ‘‹

I don't think so but let's talk through your scenario

sick warren
#

right thats what I figured

#

thats every 2 weeks, not semi-monthly

#

OK thanks

edgy oyster
#

And I am assuming you want this to run automatically and bill up front?

sick warren
#

Yes thats correct

edgy oyster
sick warren
#

Thats ok I think we can just go with every n weeks

#

Thanks

edgy oyster
#

Alright, if that works for you that's probably the easiest approach here.

sick warren
#

Another question please. Can you explain what drives the start_date parameter in the create subscription response? I dont see that as an input parameter in the docs.

#

Im trying to figure out how I can submit a subscription today that doesnt charge the first invoice until a future date

edgy oyster
sick warren
#

OK thanks

edgy oyster
#

Happy to help ๐Ÿ™‚

vital haloBOT
#

dorian_subscription-intervals-futurestart

sick warren
#

So the schedule and subscription are two different objects? I create the schedule with a future start date, and when that start date arrives the sub object is created? Im also trying ot understand the end_behavior parameter on the schedule. I want the sub to persist indefinitely, until the user cancels it. I dont think I need the schedule to persist though right? I only need it once, to create the sub on the schedule start_date?

edgy oyster
#

Okay, yes. The schedule is only needed to persist as long as you have plans to make changes.

If you set the end_behavior to release then, when the last schedule phase ends it will just continue the subscription in that last state until canceled

sick warren
#

OK thanks. Im not understanding the concept of phases. I only need one phase, correct?

#

Also, if I only save the schedule ID, can I always look up the associated sub ID to make changes in the future? Even when the schedule 'ends' (not sure what that means either)?

edgy oyster
#

OK thanks. Im not understanding the concept of phases. I only need one phase, correct?
In your case yes. The concept of phases are that each phase represents a different configuration for the subscription. Schedules are designed to allow for many changes to be set in the future. E.g. if you wanted to charge an "intro" price for say 5 months, then change to a higher price, and then do something else after another N months.

if I only save the schedule ID, can I always look up the associated sub ID to make changes in the future? Even when the schedule 'ends' (not sure what that means either)?
The schedule will still link to the Subscription so you can use the ID. When the schedule "ends" is when the last phase has completed and the underlying subscription either cancels or is released.

sick warren
#

Thanks. What determines when a phase is completed? And when the subscription is released, can I still modify the subscription using the schedule ID?

edgy oyster
#

What determines when a phase is completed
The billing cycle period and number of iterations. E.g. if you use a price with a per month billing cycle and the phase has iterations of 1, then the phase is complete after 1 month

#

And when the subscription is released, can I still modify the subscription using the schedule ID?
No