#alalva_proration-upcoming-calculations
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1268982882932883528
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- alalva_api, 15 minutes ago, 23 messages
- alalva_api, 2 days ago, 8 messages
- alalva_api, 3 days ago, 7 messages
- alalva_api, 3 days ago, 6 messages
- alalva_alalva-customer-portal-configuration, 6 days ago, 17 messages
just in case here is the payment intent id pi_3PjO1MATCXjCgCHX0KLUKf1V
Hi ๐
How much time had elapsed between when you retrieved the upcoming invoice showing the proration and when you actually modified the Subscription in this request: https://dashboard.stripe.com/test/logs/req_yEhHjFgoJ2QQmx ?
checking now
the plan was created at 08/01/2024 08:06 pm and the plan was updated. looking now
and it was updated today at 11:08am
But I'm asking when you made the request to retieve the upcoming invoice. Also, you passed the exact same parameters?
it was also at the same time, i didn't let time pass by, yes also same parameters
But the upcoming invoice api did not show $588.99?
when i make the call it shows me the prorated amount left which is $49.91 and from there i figure out the math. in this case i do new plan amount $640 - the prorated amount left $49.91 = $590.09 but Stripe charged $588.07.
is there a way to show the actual amount that it will charge without me having to calculate?
Except the change is occuring one day into the billing cycle so the amount is not the full $640. It's $638.90
out of the $50 why is it that is only charged .12cents?
It's an annual billing cycle so that's what 1 day comes out to
And we calculate time fractions using the number of seconds so it might not line up exactly with whole days either.
let me try doing a different calculation
When you retrieved the Invoice using the Upcoming Invoice, it should have included the line item for the new price and that should have shown the exact amount of $588.99