결제 전환 목표 아키텍처 정의 (2/2) (iss-155aa95ea6df)
All checks were successful
ci / test (pull_request) Successful in 6s

This commit is contained in:
forge-bot 2026-07-12 04:41:19 +00:00
parent ebf4cef42f
commit 71e25467e3

View file

@ -0,0 +1,25 @@
```mermaid
sequenceDiagram
participant User
participant PaymentGateway
participant Bank
%% Normal flow
User ->> PaymentGateway: Request Payment
PaymentGateway ->> Bank: Process Payment
Bank -->> PaymentGateway: Payment Approved
PaymentGateway -->> User: Payment Confirmation
%% External failure branch
User ->> PaymentGateway: Request Payment
PaymentGateway ->> Bank: Process Payment
Bank -->> PaymentGateway: Payment Declined
PaymentGateway -->> User: Payment Declined Message
%% DB failure branch
User ->> PaymentGateway: Request Payment
PaymentGateway ->> Bank: Process Payment
Bank -->> PaymentGateway: DB Error
PaymentGateway -->> User: Payment Failed Due to Error
Note over PaymentGateway: Rollback transaction if needed
```