Skip to content

refactor: 테스트 Key-in 결제 로직에서 confirm 호출 제거 및 승인일시 처리 개선#59

Merged
ZeroColaa merged 2 commits into
dev-v2from
feature/payment-v2
Jul 29, 2025
Merged

refactor: 테스트 Key-in 결제 로직에서 confirm 호출 제거 및 승인일시 처리 개선#59
ZeroColaa merged 2 commits into
dev-v2from
feature/payment-v2

Conversation

@ZeroColaa

@ZeroColaa ZeroColaa commented Jul 29, 2025

Copy link
Copy Markdown
Member
  • PaymentServiceImpl의 createTestKeyInPayment메서드에서 confirmPayment 호출 제거
  • savePaidPayment에 approvedAt 전달로 결제 승인 시각 기록
  • Key-in 응답의 approvedAt 값을 직접 파싱하여 결제 승인일시로 저장
  • 결제 상태가 'DONE'인지 여부 검증 추가
  • 결제 승인 실패 시 예외 처리 강화

- TossPaymentsClient에서 confirmPayment 호출 제거
- Key-in 응답의 approvedAt 값을 직접 사용하여 결제 승인일시 처리
- 결제 상태가 'DONE'인지 검증 추가
- 결제 승인 실패 시 예외 처리 강화
@ZeroColaa ZeroColaa force-pushed the feature/payment-v2 branch from 5714d05 to dc3856a Compare July 29, 2025 04:33

@leeuihyun leeuihyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다.

@hojin915 hojin915 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

확인했습니다

@ZeroColaa ZeroColaa merged commit 767aab6 into dev-v2 Jul 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants