Skip to content

Conversation

@ht3064
Copy link
Collaborator

@ht3064 ht3064 commented Sep 15, 2025

🌱 관련 이슈


📌 작업 내용 및 특이사항

  • 결제 취소 및 환불 처리를 위한 API를 구현했습니다.
  • 결제 취소 시각을 저장하는 필드를 Payment 도메인에 추가했습니다.
  • 유료 서비스 정책에 따라, 사용자가 콘텐츠를 이용하지 않은 경우 일정 기간 내 환불이 가능해야 하므로 해당 기능을 제공하게 되었습니다.
  • 정확한 환불 정책 기준은 추후 PM으로부터 전달받는 대로 다음 작업에서 반영할 예정입니다.
  • 또한, 유료 앨범 최초 생성 및 구독 갱신 시 취소된 결제를 사용할 수 없도록 예외 처리 로직을 추가했습니다.

📚 참고사항

  • 기존 updatePayment() 도메인 메서드를 complete()와 assignToAlbum()으로 리네이밍하였습니다.
  • 결제 후 10분 이내에 앨범이 생성되지 않으면 자동으로 결제를 취소하고 환불하는 로직은 별도 PR에서 구현할 예정입니다.

@sonarqubecloud
Copy link

Copy link
Collaborator

@yongjun0511 yongjun0511 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

@ht3064 ht3064 merged commit df45821 into develop Sep 16, 2025
2 checks passed
@ht3064 ht3064 deleted the feat/211-payment-cancel branch September 22, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ 결제 취소 기능 구현

3 participants