Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 committed Nov 21, 2024
1 parent 5a41ce5 commit 2cf14ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,3 @@ oauth:
"kakao-pay-request-host": https://open-api.kakaopay.com





0 comments on commit 2cf14ed

Please sign in to comment.