#hakiros_unexpected
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. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ 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/1214548057929031751
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
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.
- hakiros_best-practices, 3 days ago, 5 messages
- hakiros_code, 5 days ago, 33 messages
Hi, let me help you with this.
You can choose to limit coupons to apply to specific products: https://docs.stripe.com/api/coupons/object#coupon_object-applies_to-products
You will have to separate it into 2 Products then
okay, thanks
Happy to help.
although its kinda weird its not applicable to price
You mean that you can't limit it to a Price, just to a Product?
yes, having 2 prices for sub, 1 for month and one for year seems like the most common usecase
also giving discount for 1 month of subscription instead of year once again seems like common usecase for coupons
You can use trial period instead: https://docs.stripe.com/api/subscriptions/create#create_subscription-trial_period_days