Skip to content

Commit

Permalink
feat: 토스페이먼츠 로깅
Browse files Browse the repository at this point in the history
  • Loading branch information
abwarten committed Dec 10, 2024
1 parent 7def288 commit 97922d0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public TossPaymentsResponseDto confirm(TossPaymentsRequestDto tossPaymentsReques
String authorizations = "Basic " + Base64.getEncoder()
.encodeToString((tossPaymentsProperty.getWidgetSecretKey() + ":").getBytes(StandardCharsets.UTF_8));

log.info(authorizations);

return webClient.post()
.uri("https://api.tosspayments.com/v1/payments/confirm")
.header("Authorization", authorizations)
Expand Down

0 comments on commit 97922d0

Please sign in to comment.