#dannyhadders-manual-pi-confirmation
1 messages ยท Page 1 of 1 (latest)
sorry, which flow do you mean?
the one we currently have implemented or the new one?
So that I understand, you're looking to switch to using Payment Element as opposed to the standard card Element?
yes as we like the new UI it has ๐
Which supports various new payment methods, like Klarna (which you want to use?)
Correct ๐
To confirm - this is the new element:
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Got it. Yeah, you can't really do manual confirmation with non-card payments
that includes apple pay + google pay I assume then ?
Literally called out at the top of this page: https://stripe.com/docs/payments/accept-a-payment-synchronously
No, they'll work
Just not Klarna
Have you instead considered auth and capture as an alternative to manual confirmation? https://stripe.com/docs/payments/capture-later
We generally advise against manual confirmation, because of issues like this
yes, one of our developers had said they used auth and capture previously so we are considering that implementation
if we were to use the auth and capture could we still use the new payment element UI?
Yep, exactly!
- Create the PI (passing
capture_method: 'manual'). - Initiate the Payment Element with the PI
client_secret. - Capture payment details.
- Capture on the server when your business logic requires you to!
Not all payment methods will support this flow, so be wary what you enable in your Dashboard. But Klarna does: https://stripe.com/docs/payments/klarna/accept-a-payment?platform=web#manual-capture
awesome, thanks for your help ๐
Np!
By the way, you can see the supported flows comparison here: https://stripe.com/docs/payments/payment-card-element-comparison#advanced-scenarios