Files
docs/activity_diagram/khachHang/gioHang_thanhToan.drawio
2026-03-31 13:28:57 +07:00

140 lines
12 KiB
Plaintext

<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36" version="29.6.6">
<diagram name="Checkout_Payment" id="bKRLTA92cAjA-rBIfjbR">
<mxGraphModel dx="1501" dy="826" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="SNM6agnK_Mvu1qLB-bsw-1" parent="1" style="swimlane;whiteSpace=wrap;html=1;fontStyle=1;startSize=30;fillColor=#f5f5f5;" value="1. Actor: Khách hàng" vertex="1">
<mxGeometry height="1330" width="300" x="380" y="400" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-2" parent="SNM6agnK_Mvu1qLB-bsw-1" style="ellipse;html=1;fillColor=#000000;strokeColor=#000000;" value="" vertex="1">
<mxGeometry height="30" width="30" x="135" y="50" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-3" parent="SNM6agnK_Mvu1qLB-bsw-1" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Kiểm tra lại giỏ hàng&#xa;(Tăng/giảm/xóa món)" vertex="1">
<mxGeometry height="50" width="140" x="80" y="120" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-4" parent="SNM6agnK_Mvu1qLB-bsw-1" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Chọn phương thức&#xa;thanh toán (Tiền mặt/Ví...)" vertex="1">
<mxGeometry height="50" width="140" x="80" y="240" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-42" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-1" source="SNM6agnK_Mvu1qLB-bsw-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="SNM6agnK_Mvu1qLB-bsw-6" value="Yes">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-5" parent="SNM6agnK_Mvu1qLB-bsw-1" style="rhombus;whiteSpace=wrap;html=1;" value="Yêu cầu&#xa;Hóa đơn đỏ?" vertex="1">
<mxGeometry height="80" width="110" x="95" y="340" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-6" parent="SNM6agnK_Mvu1qLB-bsw-1" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Tích chọn &amp; Nhập&#xa;thông tin doanh nghiệp" vertex="1">
<mxGeometry height="50" width="140" x="140" y="480" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-8" parent="1" style="swimlane;whiteSpace=wrap;html=1;fontStyle=1;startSize=30;fillColor=#dae8fc;" value="2. System: Hệ thống" vertex="1">
<mxGeometry height="1330" width="340" x="680" y="400" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-9" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Tính tổng tiền,&#xa;phí dịch vụ, thuế GTGT" vertex="1">
<mxGeometry height="50" width="140" x="100" y="120" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-10" parent="SNM6agnK_Mvu1qLB-bsw-8" style="rhombus;whiteSpace=wrap;html=1;" value="Thông tin HĐ&#xa;đúng định dạng?" vertex="1">
<mxGeometry height="80" width="110" x="115" y="465" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-11" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;fillColor=#f8cecc;strokeColor=#b85450;" value="Báo lỗi: Thiếu/Sai MST&#xa;Yêu cầu nhập lại" vertex="1">
<mxGeometry height="50" width="140" x="100" y="310" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-29" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-10" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-12" value="Yes (Hợp lệ)">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-7" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Nhấn&#xa;&quot;Xác nhận thanh toán&quot;" vertex="1">
<mxGeometry height="50" width="140" x="-165" y="710" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-15" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;fillColor=#f8cecc;strokeColor=#b85450;" value="Báo lỗi (Hết tiền/Lỗi)&#xa;Yêu cầu thử PT khác" vertex="1">
<mxGeometry height="50" width="140" x="7" y="1120" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-14" parent="SNM6agnK_Mvu1qLB-bsw-8" style="rhombus;whiteSpace=wrap;html=1;" value="Giao dịch&#xa;thành công?" vertex="1">
<mxGeometry height="80" width="110" x="100" y="900" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-34" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-14" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" target="SNM6agnK_Mvu1qLB-bsw-15" value="No (Thất bại)">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-36" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-14" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" target="SNM6agnK_Mvu1qLB-bsw-16" value="Yes (Thành công)">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="240" y="940" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-16" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Thông báo thành công&#xa;&amp; Gửi đơn đến Bếp/Pha chế" vertex="1">
<mxGeometry height="60" width="160" x="160" y="1120" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-17" parent="SNM6agnK_Mvu1qLB-bsw-8" style="ellipse;html=1;shape=endState;fillColor=#000000;strokeColor=#000000;" value="" vertex="1">
<mxGeometry height="30" width="30" x="225" y="1270" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-37" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-16" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-17">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-12" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Ghi nhận thông tin&#xa;Hóa đơn đỏ vào lưu trữ" vertex="1">
<mxGeometry height="50" width="140" x="100" y="610" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-13" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Gọi API đến cổng&#xa;thanh toán tương ứng" vertex="1">
<mxGeometry height="50" width="140" x="90" y="710" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-19" parent="SNM6agnK_Mvu1qLB-bsw-8" style="html=1;align=center;verticalAlign=middle;rounded=1;arcSize=10;" value="Xử lý giao dịch tài chính&#xa;&amp; Trả về kết quả" vertex="1">
<mxGeometry height="50" width="140" x="400" y="710" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-32" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-13" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-19">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-39" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="SNM6agnK_Mvu1qLB-bsw-14">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-43" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="SNM6agnK_Mvu1qLB-bsw-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-31" edge="1" parent="SNM6agnK_Mvu1qLB-bsw-8" source="SNM6agnK_Mvu1qLB-bsw-7" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-18" parent="1" style="swimlane;whiteSpace=wrap;html=1;fontStyle=1;startSize=30;fillColor=#e1d5e7;" value="3. API: Cổng thanh toán" vertex="1">
<mxGeometry height="1330" width="280" x="1020" y="400" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-20" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-2" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-21" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-3" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-22" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-9" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-4">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="850" y="610" />
<mxPoint x="530" y="610" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-23" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-4" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-27" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-10" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;" target="SNM6agnK_Mvu1qLB-bsw-11" value="No (Sai định dạng)">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-28" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-11" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;dashed=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" target="SNM6agnK_Mvu1qLB-bsw-6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="630" y="735" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-35" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-15" style="edgeStyle=orthogonalEdgeStyle;html=1;rounded=0;dashed=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" target="SNM6agnK_Mvu1qLB-bsw-4">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="410" y="1545" />
<mxPoint x="410" y="665" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-40" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="SNM6agnK_Mvu1qLB-bsw-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="SNM6agnK_Mvu1qLB-bsw-44" edge="1" parent="1" source="SNM6agnK_Mvu1qLB-bsw-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="SNM6agnK_Mvu1qLB-bsw-7" value="No">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>