#_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ 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/1253166835940065391
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi @lost turret I'm taking over this thread, give me a sec to catch up
https://dashboard.stripe.com/test/logs/req_O7N8J46n3kyC15 In this request, you changed the phase 0's start_date to 2024-06-19 07:52:39, so the phase 0's end_date will become 2024-07-19 07:52:39, which is one iteration later.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Also in req_nBvCIk3z9CVseV, you were trying to update the start_date of phase 0, but phase 0 is already started. Can you try again without setting start_date of phase 0 ?
Are you saying that the epoch time is the same, but it's considered different? Isn't the start_date a required field?
Yes you are right, the start_date of the first phase is required. Sorry for the confusion
Can you use the same value (i.e., 2024-07-19 07:52:39) as the start_date of phase 0?
I used epoch time, it was same value. (1718783500)
2024-07-19 07:52:39 value is end date of phase 0
That unix timestamp is in June so not 2024-07-19 07:52:39
i requested
phase 0 start_date 1718783500 (2024-06-19 07:51:40)
phase 0 end_date 1721375500 (2024-07-19 07:51:40)
phase 1 start_date 1721375500 (2024-07-19 07:51:40)
the period of subscription is below image
as far as i know, first index means current phase
Sometimes the phase length is 3, and phase 0 points to the past, but the release doesn't work well. Is this normal, or does it only happen in test mode?
Test and Live mode would mirror each other so no.
So, is it possible for there to be a case where the phase length is 3?
When is the point at which past phases are automatically released?
What does 'phase length is 3' mean?
Generally, when setting the subscription schedule, the current period goes into phase 0, and the next schedule goes into phase 1. However, in test mode on Stripe, there are cases where the data appears in the order of [past phase, current phase, future phase].
I'm having a hard time undertstanding the question here. Can you share examples of what you expect to see and what you're seeing in details?
Oh, what I just mentioned is separate from the current issue; it was something I was curious about in general.
I have reproduced the current issue, and the subscription ID is sub_1PTcTiIX9E6NiiqiyzxVXfH6. Could you take a look at it?
Just now,
1.Created a customer,
2.Created a subscription with quantity 1,
3.Changed the current phase of subscription to quantity 2, next phase quantity 1.
4.Tried to change the next phase from 1 to 2, and the issue occurred.
- req_qGjUf4KxWaPMjP
- req_LHXsEbIEH626mn
- req_UY0Wc6oHzMOjhF
- req_l4Sh0s4bK675yL
I'm attempting to reproduce what you're seeing, thank you for your patience.
While I'm still looking into this, can I ask why you're creating the subscription with 2 quantity, then updating it to one, then updating it to 2?
Currently, our service has a seat feature that is linked with the subscription quantity. If a member leaves, the number of seats should decrease in the next cycle.
On this request https://dashboard.stripe.com/test/logs/req_LHXsEbIEH626mn why are you changing the quantity on both phases?
It seems like the logic is setting the next phase. Is there an issue with that?
At the moment, just trying to understand what you're attempting to do on my reproduction
in the past, this process is working well, but recently it is not working.... we have to control phase of schedule for payment.
Can you share an example where it worked before?
- create customer
- create subscription 1 quantity
- update current quantity of phase 0 to 2 if user buy seat. and set next phase quantity to 1
- when user invite member into team. update quantity of next pahse(1) to 2,
- when member leave from team, and then update quantity of next phase(1) to 1.
Can you share the request ids where this worked similar to what you did above?
I already shared. above.
req_qGjUf4KxWaPMjP
req_LHXsEbIEH626mn
req_UY0Wc6oHzMOjhF
req_l4Sh0s4bK675yL
you stated that it was working before
can you share the request ids where it was working?
The ones you shared are the ones that are not working
in live
-
req_TckSrzjIoPhPAE upgrade quantity current phase
-
req_e0q5LGRJj1EIDc set next phase seat
-
req_5oQlAhqILTJhRF upgrade quantity current phase
-
req_dxHiJSGw0A0MFc set next phase seat
-
req_04zoKzBVgO6Gsq downgrade next phase quantity
Thank you, looking.
From those live mode requests, this https://dashboard.stripe.com/test/logs/req_UY0Wc6oHzMOjhF and https://dashboard.stripe.com/test/logs/req_LHXsEbIEH626mn would be equivelant. Can you share a Sub. Schedule where you treid updating for the second time and
I don't understand your request
I can't not set schedules of subscription.
I just tried newly, and error occur. req_pvoTtghfVvt0U4
Looking