#Nyxi

1 messages · Page 1 of 1 (latest)

mighty harnessBOT
indigo saddle
#

Documentation seems to indicate it only works on invoices

nova nexus
#

Specifically for integrating with Payment Intents directly?

indigo saddle
#

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

nova nexus
#

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

indigo saddle
#

Alright

#

That's unfortunate

#

But thanks

nova nexus
#

Np, this was ultimately meant to be supported via the Orders API which unfortunately never made it out of beta and has been shelved

indigo saddle
#

Okay

#

Too bad