Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daolove0323 committed Nov 19, 2024
1 parent 9c10b1b commit a7e06f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ public KakaoPayReservationResponse readyPayment(MemberIdentifier identifier, Res
);
payment.setTid(kakaoPayResponse.getTid());
paymentRepository.save(payment);
kakaoPayResponse.setNextRedirectAppUrl(kakaoPayResponse.getNextRedirectAppUrl() + payment.getPartnerOrderId());
// kakaoPayResponse.setNextRedirectAppUrl(kakaoPayResponse.getNextRedirectAppUrl());
kakaoPayResponse.setNextRedirectAppUrl(kakaoPayResponse.getNextRedirectAppUrl() + "?orderId=" + payment.getPartnerOrderId());
// return kakaoPayResponse.getNextRedirectAppUrl() + "?orderId=" + payment.getPartnerOrderId();
return KakaoPayReservationResponse.builder().reservationResponse(null)
.kakaoPayResponse(kakaoPayResponse).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static KakaoPayRequest of(
.quantity(request.getQuantity() + "")
.totalAmount(event.getPrice() * request.getQuantity() + "")
.taxFreeAmount("0")
.approvalUrl(approvalUrl + "?orderId=")
.approvalUrl(approvalUrl)
.cancelUrl(cancelUrl)
.failUrl(failUrl)
.build();
Expand Down

0 comments on commit a7e06f8

Please sign in to comment.