Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

결제 기능 #29

Open
baesuyeon opened this issue Aug 7, 2021 · 0 comments
Open

결제 기능 #29

baesuyeon opened this issue Aug 7, 2021 · 0 comments
Assignees

Comments

@baesuyeon
Copy link
Collaborator

baesuyeon commented Aug 7, 2021

기능

  • 결제 기능

시나리오

  • 로그인한 사용자가 진행한 주문에 대한 결제를 진행한다.

Given

  • payment request dtoorder_id를 가진다.
  • 주문 금액은 Ordertotal price와 일치해야 한다.
  • 주문 상태가 WAITING_PAYMENT 인 주문에 대해서만 결제를 진행할 수 있다.
  • 주문 상태가 변경된다.(WAITING_PAYMENT -> PREPARING_DELIVERY)
  • 결제는 [결제 대기, 결제 완료] 중 한 상태를 가진다.
  • 결제시 [결제 완료] 상태를 가진다.
@baesuyeon baesuyeon self-assigned this Aug 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant