by olivierrg · 6y ago · 0 comments
Stripe PM on the Payment Intents API here. You're right that there were some rough edges when we started rolling out this new API last year. SCA is complex and we want to help make it easy to navigate this regulation: we designed the new APIs to abstract away as much of the complexity as we can. In addition, thanks to a lot of feedback from users, we made important changes to our docs architecture, guides, API reference, and Dashboard in November 2019, and are continuing to iterate on it. I would love feedback on how we can further improve our documentation. I’m olivier@stripe.com.
With PayPal you simply send a request for a certain amount, and when it gets approved the customer's client comes back with a token and you choose to execute it or not. If you don't execute, the charge just isn't completed.
Stripe's docs says to not depend on the client because the client can close the browser window. In the PayPal case, if that happens, the transaction is simply canceled (since the client closed before finishing).
EDIT: It looks like Stripe's docs do support the PayPal style integration, but recommends against it because it doesn't work with longer-delay asynchronous methods. It's funny because PayPal's old API was done in this way (with instant payment notification webhooks) and their new API is closer to Stripe's old API.