#Nyxi
1 messages · Page 1 of 1 (latest)
Documentation seems to indicate it only works on invoices
Specifically for integrating with Payment Intents directly?
Yeah. Like "This object can be applied to N charges and will trigger an X % or Y fixed discount"
essentially having Stripe manage the number of available uses
I want the max_redemptions logic on one-off charges
Because building it myself is just a lot of extra work
Unfortunately Payment Intents don't support discounts/coupons right now. They just expect an amount integer 😦
Expectation is for you to calculate any discounts manually prior to payment
Np, this was ultimately meant to be supported via the Orders API which unfortunately never made it out of beta and has been shelved