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

This commit is contained in:
forge-bot 2026-07-12 05:19:41 +00:00
parent cf6a5fe021
commit f5923a3a7a

View file

@ -0,0 +1,23 @@
```mermaid
sequenceDiagram
participant User
participant PaymentGateway
participant Database
User->>PaymentGateway: Initiate payment
PaymentGateway->>User: Payment status (success)
User->>Database: Save transaction
Database-->>User: Transaction saved
%% External failure scenario
User->>PaymentGateway: Initiate payment
PaymentGateway-->>User: Payment status (failure)
User->>Database: Log failure reason
%% Database failure scenario
User->>PaymentGateway: Initiate payment
PaymentGateway->>User: Payment status (success)
User->>Database: Save transaction
Database-->>User: Transaction failed (DB error)
Note right of User: Rollback transaction
```