Is there a Stripe webhook that fires when a customer selects their payment method inside a Checkout Session?
Hey everyone,
We're building a payments platform on top of Stripe Connect. When a customer checks out, we create a Checkout Session with a fixed application_fee_amount - calculated upfront based on our fee formula.
The problem: our platform operates in Belgium where the vast majority of payments go through Bancontact (flat fee, easy to predict). But some customers choose a credit card instead - and Stripe's processing fee for credit cards (especially corporate cards) is significantly higher than for Bancontact.
By the time we receive the payment_intent.succeeded webhook, the application_fee_amount is already locked in and the funds have been distributed. We're essentially absorbing the difference in Stripe processing costs without being able to correct for it.
What we'd love is a webhook that fires after the customer selects their payment method but before the payment is confirmed — something like checkout.session.payment_method_selected — so we could update the application_fee_amount accordingly via the Update a Session API.
Does anything like this exist? Or is there another pattern people use to handle variable processing fees in a Connect platform where the payment method isn't known at session creation time?
Interestingly, Mollie handles this via their Orders API where you can update order details mid-flow. Would love to know if Stripe has an equivalent.
Thanks