From 2cf14ed32830aa059176dee68405fe97a33de6e0 Mon Sep 17 00:00:00 2001 From: daolove0323 Date: Fri, 22 Nov 2024 01:12:10 +0900 Subject: [PATCH] . --- .../reservation/api/KakaoPaymentRedirectController.java | 4 +++- src/main/resources/application.yml | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/ktc2/cokaen/wouldyouin/reservation/api/KakaoPaymentRedirectController.java b/src/main/java/org/ktc2/cokaen/wouldyouin/reservation/api/KakaoPaymentRedirectController.java index 3aeeb40..f9acbd9 100644 --- a/src/main/java/org/ktc2/cokaen/wouldyouin/reservation/api/KakaoPaymentRedirectController.java +++ b/src/main/java/org/ktc2/cokaen/wouldyouin/reservation/api/KakaoPaymentRedirectController.java @@ -54,7 +54,9 @@ public String redirectKakaopay(RedirectAttributes redirectAttribute) { @GetMapping("/kakaopay/redirect/approval") public String redirectKakaopayApproval( @RequestParam(value = "pg_token", required = false) String pgToken, @RequestParam(value = "1", required = false) Long orderId) { - return "redirect:/" + approvalDeepLink + "?reservationId=" + paymentService.approvePayment(orderId, pgToken); + log.debug("실행되는지 확인 테스트"); + return "redirect:" + approvalDeepLink + "?reservationId=" + "1"; +// paymentService.approvePayment(orderId, pgToken); // Long reservationId = paymentService.approvePayment(orderId, pgToken); // return "redirect:" + "wouldyouin://booking/kakao/check/payment_approve" + "?reservationId=" + reservationId; } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index fd0b443..9ea7d04 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -104,6 +104,3 @@ oauth: "kakao-pay-request-host": https://open-api.kakaopay.com - - -