#lunar_code

1 messages ยท Page 1 of 1 (latest)

small blazeBOT
#

๐Ÿ‘‹ 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/1272935990570389652

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

storm elkBOT
worthy laurel
#

Hi ๐Ÿ‘‹ offhand that looks correct. Are you encountering an error when you try to run that?

Can you elaborate on what you mean regarding the Coupons? I think it sounds like you're looking for the applies_to parameter that we show in table here:
https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api#create-a-coupon
but let me know if it seems like I'm not grasping what you're hoping to accomplish.

Add discounts to subscriptions and subscription items using coupons and promotion codes.

dire bloom
#

it just says 3 prices (which applies it to all)

worthy laurel
#

Oh, that's because applies_to accepts the ID of a Product that the Coupon should apply to, it doesn't let you specify only specific Prices.

dire bloom