Skip to content

Commit

Permalink
fix(auth-request): add session id missing case for wallet card author…
Browse files Browse the repository at this point in the history
…ization
  • Loading branch information
giovanniberti committed Jun 27, 2024
1 parent cf1e689 commit 4ccbdcb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ private Mono<AuthorizationOutput> invokeNpgConfirmPayment(

Optional<String> sessionId = switch (authorizationData.paymentSessionData()) {
case PaymentSessionData.CardSessionData cardSessionData -> Optional.of(cardSessionData.sessionId());
case PaymentSessionData.WalletCardSessionData walletCardSessionData -> walletCardSessionData.sessionId();

default -> Optional.empty();
};

Expand Down

0 comments on commit 4ccbdcb

Please sign in to comment.