#gabriele-frattini_docs
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/1437476036999778304
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello yes unfortunately Checkout only supports one discount like that at a time.
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-discounts
Unfortunately I'm not aware of a good workaround here. You might need to do something like create Price objects with lower amounts specifically for referral setups, or define one-time lower prices via the price_data param, though that may make things more complicated than it is worth. https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-10-29.clover#create_checkout_session-line_items-price_data
Okay thank you! do you know by any chance why there is no support for it?
Thank you for the workaround, I will look in to that. But yes seems a bit like a hack
Unfortunately I am not aware of the reasoning behind the design decision here. It is definitely a feature I've seen requests for before and we clearly have an eye toward it because that param is a discounts array. I am not seeing an ETA for it though so for now I'd recommend planning on it not being out indefinitely
Got it, thanks for the help!