#rajesh-nataraj_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/1270645171175817240
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You would want to think of how to form your price model first
You want to be a lot clearer for us to help
How does it not work? Have you tried forming a Price model according to the Doc to represent your scenario?
I would suggest starting with the Doc
You want to have 1 Price. A subscription can only have 1 price
ok let me explain
I have pricing for one time as $100 - price_1PY1LcCOnyx24eM7tmx8vkBH
second is subscription as $199/month - price_1PY1M4COnyx24eM7M20QSfRp
third is metered based on usage - price_1PkkRFCOnyx24eM7h2g7ZSLe
I want to get the subscription from customer using stripe checkout
earlier I was using only one time and subscription pricing and it worked
when I included the metered pricing as line item for checkout session it give me error
as "Checkout does not support multiple prices with different billing intervals."
Okie When you create the usage based Price, could you try to set billing_scheme = tierred and then set up 1 tier, with a flat_amount?
Please try the API