#kyle-heat-engineer_api
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/1271055788714098759
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hey
Are you able to view my stripe account cause it will most likely be clearer how I have currently structured the plans and prices if you can just directly see it
My current implementation was to create a product for each plan option and then create a price for unique type of plan.
that seems reasonable yes
The issue I am having is updating users from a teams plan to an enterprise plan as this requires changing too enterprise base, entries reports, enterprise designers product not just simple sole trader to teams.
I'm not sure I follow. what exactly is the issue?
The current solution can't uses the customer portal to modify subscription as a sole trader and teams won't have the enterprise reports or enterprise designers product assigned to the subscription. Hence I am having to create a custom solution but I wanted to know if there is a better way of structuring the product and prices to fit with stripes system
the customer portal has some limitations: https://docs.stripe.com/customer-management#customer-portal-limitations
oyur use case seems quite complex, so it's possible it won't handle it. In this case you would need to build your own solution, and I recommend reading this guide about upgrades/downgrades: https://docs.stripe.com/billing/subscriptions/upgrade-downgrade
Thank you, so as far as you can see from my description I have structured it in the appropriate way. Just wanted to double check if I had missed anything before resolving current issues with our own system.
if you have multiper tiers, it odes make sense to have a product+price for each, since technically they are for different products. and then you can add additional prices to the subscriptions for specific features
When it comes to calculating the cost change for upgrading and downgrading. I have intially created a client side logic to work this out but I think it would make more sense to just obtain this number from stripe. Is there an endpoint that I can preview changes to a subscriptions.
I think part of my issues have also been that I had created a system that could result in multiple subscriptons being generated for one user
Is there an endpoint that I can preview changes to a subscriptions.
yes: https://docs.stripe.com/api/invoices/upcoming
I had created a system that could result in multiple subscriptons being generated for one user
a single Subscription can have multiple price, so that's what we usually recommend