Conversation
- implement cart page with cart item list, order summary, and checkout entry - add cart item removal and quantity update flow from the cart page - add backend PATCH API for updating cart item quantity - include product brand name in cart detail response - add quick add-to-cart action from product catalog cards - fix repeated cart fetch issue by stabilizing cart page effect dependencies
…r-entry-flow [D2C-37] 장바구니 화면 및 상품 제거/주문 진입 흐름 구현
- implement checkout page with cart item summary and payment overview - add coupon apply flow with discount calculation and duplicate-use prevention - connect order creation and payment success/failure simulation APIs - update cart lifecycle to keep carts active until successful payment - clear cart state only after successful payment simulation - enforce max cart item quantity limit of 99 across frontend and backend - improve checkout feedback messages and payment result display
…order-payment-flow [D2C-38] 체크아웃·쿠폰 적용·주문/결제 시뮬레이션 흐름 구현
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
D2C-38에서는 사용자가 장바구니에서 체크아웃으로 진입한 뒤 쿠폰을 적용하고, 주문을 생성하며, 결제 성공/실패 시뮬레이션을 수행할 수 있도록 구매 핵심 흐름을 구현했습니다.
본 PR에서는
develop에서 검증된 체크아웃, 쿠폰 적용, 주문 생성, 결제 시뮬레이션, 장바구니 생명주기 조정, 쿠폰 재사용 차단, 상품 수량 제한 정책을main에 병합하여 Sprint 2 구매 흐름의 배포 기준을 정리합니다.포함 범위
체크아웃 화면 및 구매 흐름
쿠폰 적용 흐름
주문 생성 및 결제 시뮬레이션
장바구니 생명주기 정책 조정
d2c_cart_id는 결제 성공 시에만 제거수량 제한 정책 보완
테스트 보완
검증 결과
develop브랜치 기준으로 백엔드 테스트를 실행하여 정상 통과를 확인했습니다.프론트엔드 타입 체크를 실행하여 정상 통과를 확인했습니다.
프론트엔드 빌드를 실행하여 정상 통과를 확인했습니다.
수동 확인 항목:
/cart에서/checkout으로 이동 확인/orders이동 확인브랜치 통합 방식
이번 PR의 통합 흐름은 아래와 같습니다.
main병합 후에는 체크아웃·쿠폰 적용·주문 생성·결제 시뮬레이션 흐름이 배포 기준 브랜치에 반영됩니다.향후 브랜치 운영 원칙
Sprint 2에서는 아래 브랜치 운영 원칙을 유지합니다.
develop에서 분기develop으로 개별 PR 생성develop을main에 병합main은 배포 기준 브랜치로 유지체크리스트
develop에 병합develop기준 Backend CI 통과 확인develop기준 Frontend CI 통과 확인main병합 완료main기준 최종 확인