Skip to content

Commit

Permalink
Hack fix to refresh payment method nonces when 3DS cancels. (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshropshire authored Feb 22, 2024
1 parent 27614f5 commit 5198ef0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ private void onDropInResult(DropInResult dropInResult, Exception error) {
if (dropInResult != null) {
animateBottomSheetClosedAndFinishDropInWithResult(dropInResult);
} else if (error instanceof UserCanceledException) {
updateVaultedPaymentMethodNonces(true);
dropInViewModel.setUserCanceledError(error);
} else {
onError(error);
Expand Down

0 comments on commit 5198ef0

Please sign in to comment.