Compare commits
No commits in common. "4ac50457345eae19ec597dc9930a858b4a6fd133" and "21a7ccc6705964b253dc4eadc0502c43363bdf1a" have entirely different histories.
4ac5045734
...
21a7ccc670
2 changed files with 0 additions and 40 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
# iss-155aa95ea6df-attempt-2
|
|
||||||
|
|
||||||
Forge 이슈 작업 브랜치 `forge/iss-155aa95ea6df-attempt-2`.
|
|
||||||
|
|
@ -1,37 +0,0 @@
|
||||||
```mermaid
|
|
||||||
sequenceDiagram
|
|
||||||
participant User as User
|
|
||||||
participant Checkout as Checkout Service
|
|
||||||
participant Payment as Payment Gateway
|
|
||||||
participant DB as Database
|
|
||||||
|
|
||||||
%% Normal flow
|
|
||||||
User->>Checkout: Initiate Checkout
|
|
||||||
Checkout->>DB: Save Order
|
|
||||||
DB-->>Checkout: Order Confirmation
|
|
||||||
Checkout->>Payment: Process Payment
|
|
||||||
Payment-->>Checkout: Payment Success
|
|
||||||
Checkout->>User: Payment Successful
|
|
||||||
|
|
||||||
%% External failure
|
|
||||||
User->>Checkout: Initiate Checkout
|
|
||||||
Checkout->>DB: Save Order
|
|
||||||
DB-->>Checkout: Order Confirmation
|
|
||||||
Checkout->>Payment: Process Payment
|
|
||||||
Payment-->>Checkout: Payment Failure
|
|
||||||
Checkout->>DB: Rollback Order
|
|
||||||
DB-->>Checkout: Order Rollback
|
|
||||||
Checkout->>User: Payment Failed
|
|
||||||
|
|
||||||
%% DB failure
|
|
||||||
User->>Checkout: Initiate Checkout
|
|
||||||
Checkout->>DB: Save Order
|
|
||||||
DB-->>Checkout: Order Confirmation
|
|
||||||
Checkout->>Payment: Process Payment
|
|
||||||
Payment-->>Checkout: Payment Success
|
|
||||||
Checkout->>DB: Commit Order
|
|
||||||
DB-->>Checkout: Error
|
|
||||||
Checkout->>DB: Rollback Order
|
|
||||||
DB-->>Checkout: Order Rollback
|
|
||||||
Checkout->>User: Payment Successful, Order Error
|
|
||||||
```
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue