From 1917bdf0f1b5265b022d2cf9424c2fe1adc98b4c Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 07:37:07 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EB=AA=A9=ED=91=9C=20=EC=95=84=ED=82=A4=ED=85=8D=EC=B2=98=20?= =?UTF-8?q?=EC=A0=95=EC=9D=98=20(2/2)=20(iss-bae72bbf49e3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture/transaction-sequence.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/architecture/transaction-sequence.md diff --git a/docs/architecture/transaction-sequence.md b/docs/architecture/transaction-sequence.md new file mode 100644 index 0000000..c6067ff --- /dev/null +++ b/docs/architecture/transaction-sequence.md @@ -0,0 +1,23 @@ +```mermaid +sequenceDiagram + participant User + participant PaymentGateway + participant TransactionDB + User->>PaymentGateway: Initiate Payment + alt Successful Payment + PaymentGateway-->>TransactionDB: Store Transaction + TransactionDB-->>PaymentGateway: Confirm Transaction Stored + PaymentGateway-->>User: Payment Successful + else External Failure + PaymentGateway-->>User: Payment Gateway Error + else DB Failure + PaymentGateway-->>User: Payment Processing Error + TransactionDB-->>PaymentGateway: DB Error Occurred + end + opt Commit Transaction + TransactionDB-->>User: Commit Success + end + opt Rollback Transaction + TransactionDB-->>User: Rollback Success + end +``` \ No newline at end of file