Skip to content

Commit

Permalink
Update KakaoPaymentRedirectController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 committed Nov 19, 2024
1 parent 0aaf869 commit a3894a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a3894a8

Please sign in to comment.