#TheKents

1 messages · Page 1 of 1 (latest)

pine oasisBOT
brave crow
#

Hi there

sharp crow
#

hey

brave crow
#

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

sharp crow
#

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

brave crow
#

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

sharp crow
#

So CheckoutSessions aren't supported for custom checkouts?

brave crow
#

Correct. Checkout Sessions are for Stripe Checkout which is our hosted checkout flow

sharp crow
#

oh damn

#

thanks for your help