#newtreyes_api

1 messages ยท Page 1 of 1 (latest)

pulsar ermineBOT
lunar steepleBOT
#

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.

pulsar ermineBOT
#

๐Ÿ‘‹ 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/1252942937143382086

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

rich badger
#

Hi @quick jackal

quick jackal
#

Not always. What are you really trying to ask me?

rich badger
#

I guess what I am asking is this: it looks as if you create a Suscription Schedule using https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-from_subscription then the Schedule will take the place of the subscription until the schedule is over. At that point, the schedule will set https://docs.stripe.com/api/subscription_schedules/object#subscription_schedule_object-released_subscription to a subscription id. Is that a new one or the initial one the subscription was created from?

#

Am I getting that right?

quick jackal
#

Is that a new one or the initial one the subscription was created from?
If you create the schedule from an existing subscription, then the field will map to the existing sub_xxx

In scenarios where you create a schedule without passing from_subscription then it'll generate a new sub_xxx ID once the schedule starts (according to phases/start date)

rich badger
#

Awesome

#

thank you

rich badger
#

Related to this question: I am seeing the following when creating a subscription schedule:

#

evt_1PTMomICFBpStoJ1sxDCS8tI

quick jackal
#

What seems unexpcted?

rich badger
#

I looked for that field in the subscription docs but I was not able to find it there

#

Am I missing something silly?

quick jackal
#

Sure, as I said:

In scenarios where you create a schedule without passing from_subscription then it'll generate a new sub_xxx ID once the schedule starts (according to phases/start date)
You pass start_date: 'now' (here: https://dashboard.stripe.com/test/logs/req_0v9VBcKx576Cc6) so the schedule immediately created sub_xxx

quick jackal
rich badger
#

I was missing something silly indeed

#

Sorry to bother

#

it was in front of me and I was not seeing it

#

๐Ÿ™‚

#

it is exactly as you said it was going to be

#

thank you