Skip to content

Commit

Permalink
fallback to web
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi committed Nov 9, 2023
1 parent a23efcd commit 9aca7ae
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,12 @@ class AuthorizingPaymentActivity : AppCompatActivity() {
val resultIntent = Intent().apply {
putExtra(EXTRA_AUTHORIZING_PAYMENT_RESULT, Failure(throwable))
}
setResult(Activity.RESULT_OK, resultIntent)
finish()
if(throwable.message == "3DS2 initialization failed"){
setupWebView()
}else{
setResult(Activity.RESULT_OK, resultIntent)
finish()
}
}


Expand Down

0 comments on commit 9aca7ae

Please sign in to comment.