#bruce_customerportal-upgrade
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/1218250082449756311
๐ 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.
- bruce-zhang_subscription-webhooks, 19 minutes ago, 15 messages
- bruce-zhang_webhooks, 1 day ago, 24 messages
- bruce-zhang_api, 1 day ago, 15 messages
bruce_customerportal-upgrade
@tame parrot this is a configuration you pick on the CustomerPortal in the Dashboard: https://dashboard.stripe.com/settings/billing/portal There's a clear option to decide whether to Invoice for the difference now or at the end of the period
I am using testing mode and I have three plans. When I try to upgrade from plus to premum, it says that I will pay monthly starting from next renewal date:
I'm going to need more than a picture. I need exact Subscription id, exact Invoice id afterthe upgrade and what you see in terms of proration calculation, exact Price ids that are before/after, etc.
This is the subscription id: si_PjXgv8ZdhNkVAo
This is the invoice: AD9875BA-0006
It seems that on the dashboard, I can see that stripe actually did the invoice, but it is not very clear for the customer. They don't know if they need to pay more when they upgrade or they have something like the "Applied Balance"
I kind of understand the logic behind. I am wondering if stripe can handle invoice for upgrade and downgrade seperatly, like upgrade will happen immediately and downgrade will happen after the current plan ends
Sorry can you share exact object ids? I need the sub_123, in_123 and the exact Price ids price_123 before/after
I can try but if you could find the object ids that would really help.
(looking into this, just taking me a bit of time to find all the objects)
This is one price id price_1OrvDQJxeN8I7Maz3ULtTHfA
this is the invoice id when I switch from premium plan to basic plan:
in_1Ouf3nJxeN8I7MazfkwUR9wU
Okay so they did end up paying for the price difference on that Invoice right?
Yes
I guess the reason is that stripe used the applied balance for the user, so it shows that they do not pay anything if the applied balance is enough
yeah when they already have a credit balance it makes the UI a little bit confusing
when testing the portal I recommend creating a brand new Customer + Subscription to understand what happens with the most basic case
yes I agree. i will create a new customer so no applied balance for this user
My questin for now is whether I can make the invoice mechanism for upgrade and downgrade different
ah gotcha. That's sadly impossible ๐ฆ
What you can do is create different CustomerPortal Configurations and use the "right one" based on whether you offer a downgrade or upgrade
OK got you
thanks
how to create different customerPOrtal configurations and customized them for different situations?
You have to use the API https://docs.stripe.com/api/customer_portal/configurations/create