From a3894a8922bee3d5b86c01137fd9caaa755cdc60 Mon Sep 17 00:00:00 2001 From: daolove0323 Date: Wed, 20 Nov 2024 04:15:09 +0900 Subject: [PATCH] Update KakaoPaymentRedirectController.java --- .../reservation/api/KakaoPaymentRedirectController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b511028..397be6a 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 @@ -49,7 +49,7 @@ public String redirectKakaopay(RedirectAttributes redirectAttribute) { @GetMapping("/kakaopay/redirect/approval") public String redirectKakaopayApproval( @RequestParam("pg_token") String pgToken, @RequestParam Long orderId) { - return "redirect:" + approvalDeepLink + "?reservationId=" + paymentService.approvePayment(orderId, pgToken); + return "redirect:" + approvalDeepLink + "?reservationId=" + paymentService.approvePayment(orderId, pgToken) + "&pg_token=" + pgToken; } @GetMapping("payview")