#Tiana-checkout
1 messages · Page 1 of 1 (latest)
Thanks ! Is there a reason why this isn't default ?
I couldn't speak to why it's the default. Personally I'd assume it's because unless your business uses discount codes, there shouldn't be a box for one.
Well, couldn't this be determined automatically when creating a checkout session ?
You could internally check if there are currently active coupon codes
The Stripe API tends to not make hidden decisions like that. Most things are explicit parameters.
How about an automatic_promotion_codes field then ?