#TheKents
1 messages · Page 1 of 1 (latest)
Hi there
hey
Coupons/promo codes aren't supported on PaymentIntents so you would need to use Checkout Sessions if you want to apply discounts.
Otherwise as you noted you would have to track this yourself in your own database
But are Elements for Stripe.js supported in Checkout Sessions
In docs there isn't really any information
If you want to create Checkout Sessions, it automatically locks you into a non customizable checkout
I would need Finnish Posti API integration for my checkout, would that be supported in CheckoutSession
I'm not familiar with Finnish Posti but Stripe Checkout is our hosted checkout page where you have limited customization ability and it requires a redirect.
If you want to build your own custom checkout using Elements then you can't use coupons/promo codes within Stripe unless you are using Invoices/Subscriptions
So CheckoutSessions aren't supported for custom checkouts?
Correct. Checkout Sessions are for Stripe Checkout which is our hosted checkout flow