#JohnTheFrog
1 messages · Page 1 of 1 (latest)
It's possible to do so by setting the products of applies_to on a coupon of the promotion code: https://stripe.com/docs/api/coupons/create#create_coupon-applies_to
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I want to have a 50% discount on yearly prices and 35% discount on monthly prices.
Simply assigning the coupon to the product won't validate it at checkout page