ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

3D Secure webform crashes on code entry #161

Closed justoke closed 2 years ago

justoke commented 2 years ago

We are having an issue with all our Barclays users - we have in fact lost 30 percent of our customers as they are unable to complete the authentication step using the web form provided by Barclays. This may be a web view issue, but we see the similar behavior on iOS and Android.

When authentication is required, the user is given choice between receiving a code via SMS or using their Barclays mobile bankng app to authenticate. The mobile app flow works fine, but not everyone of our customers has it.

Seems the web form closes when the user taps on the input text box to type in the code that was sent to their phone by SMS. One user reported that they were able to work around it by pasting instead of typing. Could it be that some javascript is being used on the form and this is somehow disabled in the web view?

Here are the screenshots from a mobile device showing and explaining the issue:

Capture_Screen 1 Capture_Screen 2 Capture_Screen 3

Has anyone experienced this issue?

justoke commented 2 years ago

Might be related to this https://github.com/flutter/flutter/issues/65502

justoke commented 2 years ago

Turns out this is not limited to a specific bank but rather to the way web view works in older Android and iOS versions. Difficult to pin it down because it works most of the time, except for about 20% of people in our customer base.