Stripe-android: Issues with Swedish BankId authentication (SCA)

Created on 13 Sep 2019  路  9Comments  路  Source: stripe/stripe-android

Summary

We are having problem when our customers tries to authenticate a paymentIntent with Swedish BankId. It seems like they can trigger the authentication flow and they are being redirected to the BankId app. They can authorize the payment via the BankId app but when they return to our app again the Stripe SDK doesn't finalize the confirmation.

Code to reproduce

We are basically doing the following steps:
https://stripe.com/docs/payments/payment-intents/android#collect-payment-info

Android version

multiple versions

Impacted devices

multiple devices e.g. samsung/SM-G960F

Installation method

Gradle

SDK version

10.2.1

Other information

It looks like this is fixed in the 11.0.3 version but it will require quite some work to upgrade our application to be able to user androidX so we would prefer to get a hotfix on 10.x.

triaged

Most helpful comment

@mckn @ejkkan thanks for filing. I'm happy to provide a hotfix for 10.x.

All 9 comments

This also affects the tipsi-stripe lib which has a lot of users.

Upgrading to 11+ require androidX support for react native apps which will create a lot of issues, a lot of widely used open source projects still don't support it.

Would be awesome with a fix for SDK version 10!

@mckn @ejkkan thanks for filing. I'm happy to provide a hotfix for 10.x.

10.4.4 is now released with hot-fixes from 11.x

Saviour!!

@mshafrir-stripe Unfortunately it seems this release does not contain the actual fix for the problem.

https://github.com/stripe/stripe-android/pull/1527

Would it be possible to apply the fixes from this PR to complete the SDK 10x versions support for this issue?

@ejkkan sorry for missing that fix. I'll issue another release shortly with this.

@mshafrir-stripe if you ever visit Stockholm I will buy you a beer! Thanks a lot!

v10.4.5 is now published, please let me know if this resolves your issues.

@mshafrir-stripe we believe that update solved it!
Thank you so much for this!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrewmunn picture andrewmunn  路  4Comments

HanteIsHante picture HanteIsHante  路  9Comments

GuillaumeWrobel picture GuillaumeWrobel  路  8Comments

dlambeth picture dlambeth  路  6Comments

ema987 picture ema987  路  5Comments