#naro-Discount

1 messages · Page 1 of 1 (latest)

soft fulcrum
#

Hi there, the Payment Intent API doesn't accept discount/coupons, but Checkout Session API does. Do you want to use Checkout instead?

trim kayak
#

We have a custom checkout flow where we are using the Payment Element, but want to have the ability for the user to use coupon codes and were hoping to use the coupon management in Stripe.

soft fulcrum
#

I see, I'm afraid this is not something Stripe supports at this moment.

trim kayak
#

I see, so the only way to be able to do this would be to roll our own coupon/discount system and have that modify the price, and the final price configured in the payment intent that gets used in the Payment Element then?

#

I don't suppose that there are APIs exposed in order to pull the Stripe coupon/discount information and use that to determine the price we send when generating a payment intent for payment elements?

soft fulcrum
#

The easiest way is to use Stripe Checkout, which supports coupon out-of-the-box.

trim kayak
#

Yeah, seems that way.

#

That or the Beta Orders API

#

But not sure how far away from not being "Beta" that is