#lunar_code
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/1272935990570389652
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
im trying to create a coupon, but it wont let me select a specific price id
it just says 3 prices (which applies it to all)
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.
hmm, do i create 3 products then? i dont know if the approach im taking is even correct having 1 product with 3 prices. im selling 3 subscrptions.