#keithm
1 messages ยท Page 1 of 1 (latest)
thank you, really appreciate any help
No worries, thank you for looking into it
could you please recreate this schedule using test clocks?
this way we could advance the clock and see what will happen
ah ok, will do
this way it would be easier to debug
can the stripe dashboard only create schedules with 1 phase?
I'm not sure why?
I cant see how to add other phase so we can add the 'free' phases to it so I will just use the api, will just take me a few minutes to setup on my side
oh yes you're right
Here is a subscription with this setup: sub_1Lx8nYE455PKWaMtEkvnTVJI
had issues using the customer on a connected account so it's now on the platform account but doubt this will make any difference
would you mind advancing the clock 1year?
let me check
yeah this is because the payment failed
you need to add a default payment method either for the customer or for the subscription
ah ok, will do this and setup a new one so
sorry took me a bit to make sure the payment intent was confirmed
have set one up here: sub_1Lx98TE455PKWaMtivmQ6Ciu
can I advance the time?
yeah that's really weird
Hello ๐
Taking over as tarzan needs to step away, give me a few to catch up on the context here
I looked at your schedule phases and they look fine
Can you quickly check something?
Can you use the upcoming invoice API endpoint to retrieve the next invoice and check the amount?
https://stripe.com/docs/billing/subscriptions/prorations#preview-proration
Sorry, just caught up in some calls - will do shortly
NP!
Hi Hanzo, sorry do you mean before we advance the clock?
We were using the stripe dashboard and could see the first one was โฌ100
Ah sorry about the confusion.
Can you retrieve the latest invoice for the other subscription (sub_1Lx7paCoVSlQU5W0ezF8CBE3) you've shared? Not the one with the test clocks
Gotcha. So it is consistent with the dashboard.
hmmm. thinking..
@lean agate my apologies that this is taking a while
sorry Hanzo we just found the issue
As far as I know, this would only happen if phase isn't changing
oh nicee
what was it?
we were specifying an end date and I believe the end date we had was slightly longer than stripe's calculated one
we just switched to using iterations: 1, which is what the docs recommend (guessing for this reason)
no worries at all, thank you so much