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 6b7ae69 commit d94ed2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public String readyPaymentTest() {
.eventId(1L)
.itemName("아이템 이름")
.build();
paymentRepository.save(payment);

KakaoPayRequest kakaoPayRequest = KakaoPayRequest.builder()
.cid("TC0ONETIME")
Expand All @@ -108,6 +107,7 @@ public String readyPaymentTest() {
);
payment.setTid(kakaoPayResponse.getTid());
paymentRepository.save(payment);
paymentRepository.flush();
return kakaoPayResponse.getNextRedirectPcUrl() + "?orderId=" + payment.getPartnerOrderId();
}

Expand Down

0 comments on commit d94ed2e

Please sign in to comment.