Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 committed Nov 18, 2024
1 parent c914920 commit 368ade5
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,18 @@ public String createReservation(

@GetMapping("/kakaopay/redirect/approval")
public String redirectKakaopayApproval(@RequestParam("pg_token") String pgToken, @RequestParam Long OrderId) {
log.debug("페이여기까지도?");
paymentService.approvePayment(OrderId, pgToken);
return "redirect:" + "https://wouldyouin.com/pay.html";
log.debug("그러면 여기는?");
return "redirect:" + "https://wouldyouin.store/payview";
// return approvalDeepLink;
}

@GetMapping("payview")
public String payView() {
return "pay";
}

@GetMapping("/kakaopay/redirect/cancel")
public String redirectKakaopayCancel(@RequestParam("pg_token") String pgToken) {
String redirectDeeplink = "redirect:" + cancelDeepLink + "?pg_token=" + pgToken;
Expand Down

0 comments on commit 368ade5

Please sign in to comment.