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 f0ef6f0..ebed0eb 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 @@ -36,7 +36,7 @@ public String payTest() { @GetMapping("/kakaopay/redirect/approval") public String redirectKakaopayApproval( - @RequestParam("pg_token") String pgToken, @RequestParam Long orderId) { + @RequestParam("pg_token") String pgToken, @RequestParam(defaultValue = "1") Long orderId) { log.debug("실행되는지 확인 테스트 pg: {}, id: {}", pgToken, orderId); // paymentService.approvePaymentTest(orderId, pgToken); // return "redirect:/payview";