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 3da32d7 commit cfad148
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 @@ -108,7 +108,7 @@ public String readyPaymentTest() {
);
payment.setTid(kakaoPayResponse.getTid());
paymentRepository.save(payment);
return kakaoPayResponse.getNextRedirectAppUrl() + "?orderId=" + payment.getPartnerOrderId();
return kakaoPayResponse.getNextRedirectMobileUrl() + "?orderId=" + payment.getPartnerOrderId();
}

@Transactional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ public ResponseEntity<ApiResponseBody<KakaoPayReservationResponse>> createReserv
// return ApiResponse.created(paymentService.readyPayment(identifier, reservationRequest));
return ApiResponse.created(
new KakaoPayReservationResponse(null,
KakaoPayResponse.builder().nextRedirectAppUrl(paymentService.readyPaymentTest()).build()));
KakaoPayResponse.builder().
nextRedirectAppUrl(paymentService.readyPaymentTest()).build()));
}

// 앱스토어 배포 시 결제 api 사용에 제한이 있어 만든 테스트 결제
Expand Down

0 comments on commit cfad148

Please sign in to comment.