#sargis_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1211996637300400188
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ 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. Thank you for your patience!
Hello! We'll be with you shortly. 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.
- sargis_api, 1 hour ago, 8 messages
Hi
You need to set only unit_amount or unit_amount_decimal you can't set both
Okay
Now when i use only the unit_amount_decimal I got this error message
ERROR: You are specifying an update to a currency option that matches the top-level currency for this price. Please remove this currency option and update the top-level params instead.
You cna't update the top level currency, you need to create a new price
Here are the available attributs for updating a price:
https://docs.stripe.com/api/prices/update
Ahh!! okay, I found it from More parameters section