Registration of card as payment method stuck at "Waiting for authentication"
AmyNgithub opened this issue · comments
Describe the bug
The registration of a card as payment method gets stuck after successfully authenticating with BankID and returning to the app from external browser (which opened this page https://cards-eu.klarna.com/gui/modern-13.1.0//pay-challenger.html?init3ds=…) In the app the Klarna popup shows “Väntar på autentisering” (Waiting for authentication) and a loading animation (which is moving) but it never goes away. However if I press the “X” and close the Klarna popup the process recovers and the card gets successfully registered.
To Reproduce
Steps to reproduce the behavior:
- Start the Klarna registration process
- Choose card as payment method
- Fill in all the information
- Click on “Betala” (Pay)
- Wait for redirect to external browser and for to load https://cards-eu.klarna.com/gui/modern-13.1.0//pay-challenger.html?init3ds=…
- Manually open the BankID app and sign
- Manually open the external browser again
- Click on “Slutför betalning”
- Wait for automatic redirect back to my app
- The Klarna popup is now showing “Väntar på autentisering” (Waiting for authentication) and loading animation
- Then you get stuck here indefinitely
- Or until closing the Klarna popup and then somehow triggering the success of the registration process
Expected behavior
The Klarna popup will show “Väntar på autentisering” (Waiting for authentication) and loading animation for a short period of time. After the registration is successful the Klarna popup will close automatically and the app can continue.
Screenshots
https://i.postimg.cc/MGgy3vYm/IMG-2937.png
Device and version:
- Device:
- iPhone 12 Pro
- Samsung Galaxy A10
- OS version:
- iOS 14.4.1
- Android 10
- Klarna In-App SDK version:
- iOS: 2.1.6
- Android: 2.1.7
Merchant Name
Kalmar länstrafik, GoOn
Impact Level
High. It’s blocking the required update to 2.1.6 and 2.1.7 for iOS and Android respectively. This update needs to be done by this week because of Klarnas deadline (15/7) for update being placed in the middle of Swedish summer vacations.
Additional context
- The app uses the klarnaHybridSDK.
- This issue did not occur in previous implementations using Klarna In-App SDK version 2.0.23 for iOS and 2.0.16 for Android. Unfortunately these are long jumps in versions and therefore I cannot confirm if the issues started with 2.1.6/2.1.7 or earlier.
This has been resolved on Klarna's side. I did not need to update or make any changes to the app for the fix to take effect. Thanks!