#jconnor3351_api

1 messages ¡ Page 1 of 1 (latest)

lofty tundraBOT
#

👋 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/1354176922883461152

📝 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.

clear river
#

Hello
The request ID you shared is setting name and price ID in the line item. You can't do that

#

Price object should have it's name already

#

so you can't override that when creating a checkout session

lofty tundraBOT
solemn warren
#

Yes, I understand that. I don't feel like am explaining my problem correctly or something. The stripe docs indicate that if I want to do upgrades or downgrades that I need to use one product and have multiple prices for the different tiers. However, when I create a checkout session it just shows the product description but does not show the price description so the user does not know what tier they are paying for. https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#changing

red orbit
solemn warren
#

What I am saying is that the checkout session just shows the name of the product but has no description of the price item in it. So every price that I use has the same name in the checkout session. I would like the Product name to be there but also the description of the price item that is being used. Right now, no matter which of the 4 prices I have setup all checkout sessions just show the name of the product which is confusing to the customer.

red orbit
#

That is the limitation with Checkout Sessionsin subscription mode. You can test by rceating 4 products and 4 prices to surface description for each

solemn warren
#

So in that scenario how does a user upgrade from one product subscription to the other product subscription?

red orbit
#

What request are you making to upgrade the subscription? Are you using the API directly to update the subscription? That should work

solemn warren
#

I will use the API. Ok, so when I looked at upgrading the subscription it just shows an endpoint for changing the price item. What endpoint would allow me to change the whole subscription?