#peak-paymentintent-manualconfirmation

1 messages · Page 1 of 1 (latest)

bleak wyvernBOT
torpid summit
#

@muted ibex confirmation_method: 'manual'

#

ugh sorry bad keyboard

#

If you want "manual confirmation" then you have to

  1. Pass payment_method_types
  2. Pass return_url
#

peak-paymentintent-manualconfirmation

#

This integration path, while it works, has always been extremely discouraged. It's usually a bad integration path stemming from a misunderstanding of a payment integration or trying to stick with old flows where you collect card details and then charge server-side, from before a world where async payment method types or 3DS were common.
So my real advice would be to move away from manual confirmation entirely, but that's definitely a lot more work

muted ibex
#

understood. actually, just turning the confirmation_method back to automatic seemed to work in our integration but was mostly afraid of the potential security issues we may incur from allowing payment through publishable key

#

though it sounds like if we can turn it back to automatic and it still works, that is actually the preferred way?

torpid summit
#

It is definitely the preferred way, but it's not as simple as just changing that line of code. You have to ensure you have a reliable webhook integration to listen to all Events and catch cases where the customer paid but you never got them to redirect to your server and such. But otherwise yes, automatic confirmation has been the default since the PaymentIntent API shipped in late 2018

muted ibex
#

got it, this was very helpful- thank you

torpid summit
#

sure thing!

muted ibex
#

my takeaway is that the last time we integrated was wayyy different from what stripe integration paths are now lol

it might be time to refactor 😭

torpid summit
#

heh to be clear we have discouraged the manual confirmation flow from day 1

#

but yes, things do evolve over time, we offer more solution/products. Like PaymentElement shipped a while ago now and handles most payment method types for you for example

muted ibex
#

noted, and thanks again

torpid summit
#

sure thing, let me know if you have more questions!