#AlterChase-Payment Elements
1 messages · Page 1 of 1 (latest)
Sure thing 👍
I'm happy to answer as much questions as you need me to
Well first question is
Can we authorise payment intents on server side using Payment Elements ?
you can authorize Payment Intents on server side but not using Payment Elements
Alright. Thank you. We will double check the link and see how we can implement it further
For the second question
If I set setup_future_usage= off_session for the payment intent (PI) used in PaymentElements, I will not be able to select Klarna as payment method.
If I set setup_future_usage= on_session, then I won’t be able to attach the PaymentMethod for the respective customer in Stripe.
How can I manage this situation in order to both have Klarna but also save the customers’ PMs when they select credit card / apple / google pay payment options?
you can update the Payment Intent to use setup_future_usage = "on_session" when the client chooses Klarna
Via client-side or only server-side ?
server side
Alright. Unfortunate that I have to add an extra request
Thank you for the help nonetheless. You helped me out in clarifying a bit on the architecutre
you could use this event to trigger the change
value: { type: "card" }, would tell you what type of payment they chose and based on it you could choose to update the setup_future_usage of the PaymentIntent
let me know if you need any more help