Skip to content

Commit

Permalink
chore: 결제 실패 처리 로직에 Transactional 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
kmebin committed Nov 30, 2023
1 parent e8cac53 commit a280159
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public void request(Long memberId, Long paymentId, PaymentRequest request) {
payment.request(request.orderId());
}

@Transactional
public RequestConfirmPaymentResponse requestConfirm(Long memberId, ConfirmPaymentRequest request) {
Payment payment = getByOrderId(request.orderId());
payment.validateInfo(memberId, request.amount());
Expand Down

0 comments on commit a280159

Please sign in to comment.