From 1e63db65264fc9400b5863455ad6af145fde36f7 Mon Sep 17 00:00:00 2001 From: daolove0323 Date: Fri, 22 Nov 2024 02:07:05 +0900 Subject: [PATCH] Update KakaoPaymentRedirectController.java --- .../reservation/api/KakaoPaymentRedirectController.java | 1 + 1 file changed, 1 insertion(+) 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 b7308b8..506e8e0 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 @@ -38,6 +38,7 @@ public String payTest() { public String redirectKakaopayApproval( @RequestParam("pg_token") String pgToken, @RequestParam Long orderId) { log.debug("실행되는지 확인 테스트 pg: {}, id: {}", pgToken, orderId); + paymentService.approvePaymentTest(orderId, pgToken); return "redirect:/payview"; // return "redirect:" + "wouldyouin://booking/kakao/check/payment_approve" + "?reservationId=" + "1"; // paymentService.approvePayment(orderId, pgToken);