#Magic Mage

1 messages · Page 1 of 1 (latest)

vernal abyssBOT
dusky flare
#

hello! i'm afraid i don't quite understand. Subscription Schedules are never created by Stripe automatically

sacred jungle
#

Ah, so basically I have to be the one to create/update/cancel them. I guess I could use that after creating the underlying subscription object to make it easier to maintain.

sacred jungle
#

Hmm if the underlying subscription charge fails would it's state be changed to "past_due" or something and with it automatically trigger an customer.subscription.updated event?

dusky flare
sacred jungle
#

nice, that could help too.

#

However not sure if the cli can do test-clocks to mimic it as well for localhost webhooks for now though.

dusky flare
#

if you're using the CLI to trigger webhook events, test clocks don't come into play here

#

test clocks are ideal to see the behaviour of your subscription over time

sacred jungle
#

o

#

Welp looks like I cant save a few changes to the settings:

#

cant do the email yet as the page for the thing is not pushed to the school issued webserver yet.

dusky flare
#

emails won't be sent in test mode anyway

sacred jungle
#

yeah

#

Ah I see, so the plans in stripe itself only charges on what is actually acquired outside of test mode? This feels great now that I realized it.

dusky flare
#

i'm a little confused by the plans in stripe itself only charges on what is actually acquired outside of test mode

#

can you try rephrasing?

sacred jungle
#

Basically I was afraid that if I done the plan for smart retries that it would try charging me directly for it lol and not based on if and what I would be making outside of test mode.

vernal abyssBOT
astral palm
#

Hi @sacred jungle you won't be charged in test mode.

sacred jungle
#

Uh question with this code for webhook will I need to implement ping, or would the default auto ok response work for the ping too?

astral palm
#

No you don't need to.

sacred jungle
#

Nice, it will keep my code even more compact 👌.

#

Also for subscription start dates and end dates, are these DateTime objects in utc? I prefer using utc time globally in my code so I would like to be sure that this is the case of these as well.

#

And yes I prefer UTC time so that way it's not subject to the flaws of timezones.

astral palm
#

Yes Stripe uses UTC for all timestamps

sacred jungle
#

That is perfect for me.

sacred jungle
#

And I would hate to have to install the beta release for these 2.

#

oh looks like the current beta lacks them as well.

astral palm
sacred jungle
#

Yep, I seem to not be able to find it on there, perhaps the autogenerating ai missed those 2 events.

#

I do not see them on the currently opened pull requests from it either.