#Andrea Sauceda
1 messages · Page 1 of 1 (latest)
Hello Andrea Sauceda, 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.
• Andrea Sauceda, 5 days ago, 12 messages
• Andrea Sauceda, 6 days ago, 5 messages
Hello! What are you really trying to do? Discounts are not somethign you'd create directly in the API and are somethign you'd typically create through adding a coupon or a promotion to a Subscription/Invoice/Checkout Session
The idea is to manage promotions from our side, and that in the checkout we can associate the discounts without the need of coupons in stripe, is that possible?
No, that isn't possible
The only way to do that would be to create the Checkout Session/Payment for the already discounted amount
In that case, do we need to create a priceID for each Checkout Session?
You wouldn't necessarily have to create the Price beforehand - you could do it in the Checkout Session creation request itself by passing in line_items.price_data and setting the amounts there (https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data)
👀
Is there any limit to the number of prices that can be created using this possible solution'?
Nope! There's no limit to the number of prices you can create