Skip to content

Pjh#160

Merged
euics merged 5 commits into
masterfrom
develop
Nov 3, 2025
Merged

Pjh#160
euics merged 5 commits into
masterfrom
develop

Conversation

@euics

@euics euics commented Nov 3, 2025

Copy link
Copy Markdown
Member

🌱 관련 이슈

  • close #

📌 작업 내용 및 특이사항

📝 참고사항

📚 기타

euics added 5 commits November 3, 2025 19:03
- Domain
   - SolutionEntity: industry 필드 및 updateSolutionEntity 메서드의 industry 파라미터 제거
- Service
   - SolutionService.saveSolutionEntity: request.industry() 사용 제거
   - SolutionService.modifySolutionEntity: request.industry() 파라미터 제거
   - SolutionService.getSolutionEntityByCategory: industry 변수 및 사용 코드 제거
   - SolutionService.getSolutionEntity: industry 변수 및 사용 코드 제거
   - SolutionService.getAllSolutionEntity: industry 파라미터 제거 및 메서드 시그니처 변경
- Controller
   - SolutionController.getAllSolutionEntity: industry 쿼리 파라미터 제거
- Repository
   - SolutionEntityRepository: findByCategoryAndIndustryAndBudgetAndKeyword → findByCategoryAndBudgetAndKeyword로 메서드명 변경
   - SolutionEntityRepositoryImpl: industry 관련 쿼리 조건 제거
- Request/Response
   - SaveSolutionEntityRequest: industry 필드 및 validation 로직 제거
   - ModifySolutionEntityRequest: industry 필드 및 validation 로직 제거
   - GetSolutionEntityResponse: industry 필드 제거
- 변경된 5개 API의 Request/Response 변경 사항
- 변경 전/후 JSON 예시
- 제거된 필드/파라미터 목록
- 요약 테이블
- PAYMENT_STATUS enum 정리
   - 토스페이먼츠 웹훅 문서에 명시된 상태만 관리
   - 카드/간편결제: EXPIRED, DONE, ABORTED, CANCELED, PARTIAL_CANCELED
   - 가상계좌: WAITING_FOR_DEPOSIT, DONE, CANCELED, PARTIAL_CANCELED
   - 내부 정산: SETTLED
   - IN_PROGRESS, READY 상태 제거 (웹훅에서 올 수 있지만 무시)
- 웹훅 기반 상태 관리로 전환
   - `tossPaymentApproval`: 결제 승인만 처리하고 초기 상태만 설정
   - 상태 업데이트는 웹훅 핸들러에서만 처리:
   - `handlePaymentStatusChanged`: PAYMENT_STATUS_CHANGED 웹훅 처리
   - `handleCancelStatusChanged`: CANCEL_STATUS_CHANGED 웹훅 처리
- 가상계좌 관련 메서드 제거
   - `initializeVirtualAccount`, `completeVirtualAccountDeposit`, `cancelVirtualAccount` 메서드 제거
- deposit-callback 제거
   - `tossPaymentDepositCallBack` 메서드 및 엔드포인트 제거
   - `TossPaymentDepositCallBackRequest` DTO 제거
  - 가상계좌 입금 완료도 웹훅으로만 처리
- 테스트 파일 수정
   - `success.html`: API 경로 수정 (`/api/b2b-service/payment` → `/api/payment-service/payment`)
   - `paymentEventSeq` 동적 입력 기능 추가 (URL 파라미터 또는 localStorage)
@euics
euics merged commit 9b9189f into master Nov 3, 2025
4 checks 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.

1 participant