#rickyu-coupons
1 messages · Page 1 of 1 (latest)
heya @mild mist!
- you'll need to implement a loop to apply the coupon to each customer
- yes, the coupon will show on the customer
- If you don’t want to discount the yearly plan at all you need to build this logic on your end so that you apply the coupons only for the monthly plan and not the yearly plan.
@undone fulcrum thanks, loop you mean i will need to run a api call to add the discount to each customer.
you can do it via the Dashboard if you want, but with 500 customers, that's a lot of customers to add coupons for manually
Can i edit a coupon once its been crated, seems i cant.
if the coupons is attached to the customer, it will apply on all products skus which the coupo has been made for , but not for specific price ids. so even if i code it on the front end, stripe will still offer the discount if the product matches, but not the specific priceid
you can only update the metadata on a coupon, you cannot update any other fields on the coupon after it's been created
right.. btw loving the new way discord segments messages now, first time im seeing it. kinda like how slack does it.
would you suggest any another way to bulk add coupons to select customers, or am i thinking about this wrong.. the reason why is i dont want to have a discount promo input box in stripe elements, i would rather keep it on the user level so select users who have been "invited" to the discount?? what do you think .
the other problem is the coupon when its expired will still be attached the customer.
i wish i could create a group or something
as to your second question if the coupons is attached to the customer, it will apply on all products skus which the coupon has been made for , but not for specific price ids. unfortunately, there really isn't a great solution here - another option is that you separate out the yearly Price into a separate product, but that comes with it's own set of problems/complexity. If you use the Billing Portal for example, you wouldn't be able to upgrade/downgrade easily
to solve this im allowing discount to all monthly and yearly prices ids, so that solves this issue.