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 Apr 18, 2024
1 parent d71a35e commit af5780a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,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 af5780a

Please sign in to comment.