#L2_Supreme | TheYoloDAO
1 messages · Page 1 of 1 (latest)
Hi there!
So you want to change the application_fee based on the payment method used? And you don't know the payment method in advance?
Exactly. We send the customer to the checkout page from our platform.
But obviously we already send an application fee along with creating the session.
And what integration are you using? Checkout Session, Payment Element, something else?
Checkout session
One way to achieve this is to use capture_method: manual https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-capture_method
And then later, when you capture the funds, to set a new application_fee: https://stripe.com/docs/api/payment_intents/capture
However I'm pretty sure that this isn't possible with Klarna...
I see. I was already thinking about going with seperate charges and transfers. but i really like the current implementation, as our merchants can more easily follow what fees where deducted.
Please let me know if you have any further ideas.