#usamarashad_best-practices
1 messages ยท Page 1 of 1 (latest)
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.
- usamarashad_testing-subscription-schedules, 59 minutes ago, 64 messages
๐ 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/1251231067952644116
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Welcome back! It sounds like this might be a duplicate of your previous question (#1251231067952644116 message).
It sounds like toby provided a pretty thorough answer at the end of that thread. Can you summarize how that worked for you when you tested it?
Hi. This is a follow-up to that. The thread was closed so I could not add anything else to it. Toby said that I need to "estimate" the upcoming payments. But that's not what I have in mind. See this picture. It shows the three phases which will be coming up. Additionally I can see the amounts that will be charged.
One of the past phases is missing. How do I get info on that? I need its amount. I do not want to estimate anything since its already there. I just need to access it.
I do not have records of the phase amounts in our local DB so I rely to stripe to provide that info. Apparently thats missing.
yes
these are not appearing in the phases field in the subscription schedule object using the stripe.subscriptionSchedule.retrieve() function
Let me check and circle back to you
So you should still be seeing the past phases when you retrieve the Subscription Schedule. Are you saying when you retrieve the Subscription Schedule via the API, you're not seeing past phases?
yes
Can you post the payload from your Retrieve Subscription Schedule API request?
That looks normal to me, no?
Like, you updated the Subscription Schedule to only have 3 total phases: https://dashboard.stripe.com/test/logs/iar_bknd61d1OfW1CK
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
thats because a time simulation is running. I have not deleted a phase manually. I am under the impression that when the time for a phase has passed the phase will be marked "inactive" or somthing instead of totally not showing up in the phases array
There's no inactive in this case. You would need to inspect the Phase's end_date and compare it to the current date in order to discern if it had passed or not.