#usamarashad_best-practices

1 messages ยท Page 1 of 1 (latest)

quasi hillBOT
desert orchidBOT
#

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.

quasi hillBOT
#

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

sweet stag
#

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?

ripe swan
#

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.

sweet stag
#

You just want past phase information?

#

So phases that have already passed?

ripe swan
#

yes

#

these are not appearing in the phases field in the subscription schedule object using the stripe.subscriptionSchedule.retrieve() function

sweet stag
#

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?

ripe swan
#

yes

sweet stag
#

Can you post the payload from your Retrieve Subscription Schedule API request?

ripe swan
#

yes hold on

sweet stag
ripe swan
#

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

sweet stag
#

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.

quasi hillBOT
ripe swan
#

ok but how do I even get the phase information if its not being returned.

#

I will have to sign out now since its late. I appreciate all the help you guys are providing.