#Glutch
1 messages · Page 1 of 1 (latest)
Hi there,
Yes it works, you can set a positive float from 0 to 100 in percent_off when creating a coupon:
https://stripe.com/docs/api/coupons/create#create_coupon-percent_off
Can you confirm if this is a recent update? I know it didnt work before. You could not make orders with 0$ because you had transaction fees etc
Not sure it's a recent update, the most recent update on percent_off on the API was on 2018-05-21 AFAIK
https://stripe.com/docs/upgrades#2018-07-27
Try to use it now and if you have issues don't hesitate to come back with any follow up Questions 🙂
Is it possible to create a coupon code that also removes the shipping?
You can't specify a coupon for the shipping fees, but you can create a coupon that discount the shipping equal amount:
https://stripe.com/docs/api/coupons/create#create_coupon-amount_off
ah I see what you mean now better with this example, you are using Stripe shipping
You can't apply coupons on shipping, but you can create a free shipping options
I'm trying to find a quick solution not having to rewrite a lot of code to provide 100% off codes
Yeah I see, but the only solution for removing shipping fees is to create a free shipping option
Alright thank you!