#lumen-Element

1 messages · Page 1 of 1 (latest)

cold forge
#

Hi there

#

Hi there

#

Payment Element doesn't have the option to include Coupon/Promotion code. It's easiest integrated in Checkout but let me see if you can apply to PaymentElement/PI

#

Sorry, turned out Discount is not for one-time payment except if you use Checkout. It's meant for Subscription so not possible in your following Doc. You may need to implement a coupon system yourself

hidden moth
#

So I would just need to create my own field manually, and send the coupon code to the my API, and then somehow check in with stripe?

Could you share some tips on how to do this correctly, are there any tutorials/examples?

cold forge
#

It's basically a normal request-response model. You have your own field, fire your own API, handle it and calculate the new price to create a Payment Intent