#peak-paymentintent-manualconfirmation
1 messages · Page 1 of 1 (latest)
@muted ibex confirmation_method: 'manual'
ugh sorry bad keyboard
If you want "manual confirmation" then you have to
- Pass
payment_method_types - 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
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?
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
got it, this was very helpful- thank you
sure thing!
You can also look at https://stripe.com/docs/payments/accept-a-payment-deferred as one of our newer integration path
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 ðŸ˜
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
noted, and thanks again
sure thing, let me know if you have more questions!