#Tiana-checkout

1 messages · Page 1 of 1 (latest)

finite ruin
#

Thanks ! Is there a reason why this isn't default ?

rigid trellis
#

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.

finite ruin
#

Well, couldn't this be determined automatically when creating a checkout session ?
You could internally check if there are currently active coupon codes

rigid trellis
#

The Stripe API tends to not make hidden decisions like that. Most things are explicit parameters.

finite ruin
#

How about an automatic_promotion_codes field then ?