Skip to content

Commit

Permalink
Merge pull request #1241 from Adyen/fix/frictionless_flow_v4
Browse files Browse the repository at this point in the history
Fix 3DS2 frictionless flow (v4)
  • Loading branch information
OscarSpruit authored Jun 21, 2023
2 parents 399f7cb + 697ed6f commit e107b02
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ class Adyen3DS2Component(
notifyException(CheckoutException("Unexpected 3DS2 exception.", throwable))
}
viewModelScope.launch(Dispatchers.Default + coroutineExceptionHandler) {
// This makes sure the 3DS2 SDK doesn't re-use any state from previous transactions
closeTransaction(getApplication())
try {
Logger.d(TAG, "initialize 3DS2 SDK")
ThreeDS2Service.INSTANCE.initialize(activity, configParameters, null, mUiCustomization)
Expand Down

0 comments on commit e107b02

Please sign in to comment.