#alalva_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/1268952645062889543
๐ 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, 1 day ago, 8 messages
- alalva_api, 2 days ago, 7 messages
- alalva_api, 3 days ago, 6 messages
- alalva_alalva-customer-portal-configuration, 6 days ago, 17 messages
Hi ๐ offhand the value you're passing to the price field doesn't look like the ID of a Price object, those typically have a price_ prefix on them. I'm taking a closer look though.
Yeah, that doesn't look like it's an ID for a Price object in your account. Can you elaborate on where you're getting that value from, or what Price you're trying to switch the Subscription Item to?
I am creating a new plan using (create a plan) api call and saving that id to the database. Once the user wants to confirm the plan they click on a button and i retrieve the id i saved. But i'm assuming that i'm more than likely not getting the correct price id to this create a plan?
here is a snip of the id i am putting from the dashboard (this is the plan i created) this price is from a product that has multiple prices.
here is a snip of my product catalog that has the product and within the product i have multiple prices.
Hm, I wasn't quickly spotting that ID in that account, let me take another look.
Did you only recently begin to see this error when trying to update Subscription Items this way? Were requests like this successful before?
i created one yesterday successfully and didn't get an issue until today.
Gotcha, thank you for that clarification. I'll look for one in your logs, but if you can happen to have an example of a request that succeeded previously, that would be very helpful as well.
I've found ones that worked before, but so far I haven't found one using the same Price ID as the requests that errored, and I am finding this Price ID in your account:
https://dashboard.stripe.com/test/logs/req_qfW0DrwCnftxzy
Are you sure C-H6TB7VOGC is a Price in your account? I didn't see it anywhere in the list of Prices for the Product you shared in your screenshot (I stepped through all 63).
It was deleted here:
https://dashboard.stripe.com/test/logs/req_1cQqwoJt931d3q
I just noticed that also, i think i know now what the issue is. I have a delete a plan 2 steps before Update a subscription and Update a subscription item, i strongly believe that its that what cause the issue and deleted that from my dashboard.
Let me try removing that call, that call was to delete old plans. Thank you for your help!
Any time! Glad we were able to get to the bottom of that!
๐