#Sairony
1 messages · Page 1 of 1 (latest)
I would just use a separate coupon for the yearly rate
I looked in the dashboard for coupons, and I can't seem to find a way to restrict it to price, just to product, am I missing something or is it advised to solve it in code instead?
Yeah we only provide the option to apply them to products. You can see this in the API docs as well: https://stripe.com/docs/api/coupons/create#create_coupon-applies_to-products
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.