#sstyer - coupons + payment intents
1 messages ยท Page 1 of 1 (latest)
Hi ๐
This approach is using Payment Intents which do not support coupons or discounts
Is there a way to embed a payment form in my site and still have the ability to use coupons/discounts?
Is there a way to use Checkout without having to redirect to the stripe website to take payment details?
Only if you are using Invoices or Subscriptions (which also support Discounts)
Checkout is a Stripe hosted front-end
Otherwise you could build the interface yourself in your own payment form.
You could allow your customers to enter promo codes and discount the amount. But Stripe wouldn't know that coupons had been applied and couldn't track it
You could use the metadata property on a Payment Intent to keep track yourself though.
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-metadata
sstyer - coupons + payment intents
Thanks @maiden mulch! So what you are proposing is creating a coupon management system of our own, catch the form submission and edit the total charge based on what we know of the coupon before sending it to Stripe, and just send the coupon code as metadata for reporting purposes? As far as creating the coupons, assessing their validity, etc that is all outside of Stripe?
๐ Taking over this thread, catching up now
Yup! That's the suggestion on PaymentIntent