<mxfile host="app.diagrams.net" modified="2026-05-05T00:00:00.000Z" agent="ChatGPT" version="24.7.17" type="device">
  <diagram id="scenario5-payment-error" name="5. scenārijs - Maksājums neizdodas">
    <mxGraphModel dx="1200" dy="900" 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="title" value="5. scenārijs: Maksājums neizdodas Wolt aplikācijā" style="text;html=1;strokeColor=none;fillColor=none;fontSize=20;fontStyle=1;align=center;verticalAlign=middle;" vertex="1" parent="1">
          <mxGeometry x="80" y="30" width="680" height="40" as="geometry"/>
        </mxCell>

        <mxCell id="start" value="Sākums" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="325" y="90" width="160" height="60" as="geometry"/>
        </mxCell>

        <mxCell id="step1" value="Lietotājs atver grozu un nospiež pogu “Pasūtīt”" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="180" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step2" value="Sistēma parāda maksājuma logu ar pasūtījuma summu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="290" width="300" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="step3" value="Lietotājs izvēlas bankas karti vai ievada jaunas kartes datus" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="400" width="300" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="step4" value="Sistēma nosūta maksājuma pieprasījumu bankai / maksājumu servisam" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="255" y="520" width="300" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="decision" value="Vai banka apstiprina maksājumu?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="295" y="640" width="220" height="120" as="geometry"/>
        </mxCell>

        <mxCell id="success" value="Maksājums veiksmīgs → process turpinās ar pasūtījuma izveidi" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="560" y="660" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="error1" value="Banka noraida maksājumu: nepietiek līdzekļu, karte bloķēta vai nepareizi dati" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="25" y="645" width="245" height="100" as="geometry"/>
        </mxCell>

        <mxCell id="error2" value="Sistēma parāda kļūdas ziņojumu: “Maksājums neizdevās. Mēģiniet vēlreiz vai izvēlieties citu metodi.”" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="25" y="800" width="300" height="100" as="geometry"/>
        </mxCell>

        <mxCell id="choice" value="Ko lietotājs izvēlas darīt?" style="rhombus;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=13;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="65" y="950" width="220" height="120" as="geometry"/>
        </mxCell>

        <mxCell id="retry" value="Lietotājs mēģina maksāt vēlreiz ar to pašu karti" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="350" y="935" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="other_method" value="Lietotājs izvēlas citu maksājuma metodi vai citu karti" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="350" y="1060" width="250" height="80" as="geometry"/>
        </mxCell>

        <mxCell id="cancel" value="Lietotājs atceļ pasūtījumu" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=13;" vertex="1" parent="1">
          <mxGeometry x="25" y="1120" width="250" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="end_cancel" value="Beigas: pasūtījums netiek veikts" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="35" y="1240" width="230" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="end_success" value="Beigas / pāreja uz 4. scenāriju: piegāde" style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=14;fontStyle=1;" vertex="1" parent="1">
          <mxGeometry x="575" y="790" width="230" height="70" as="geometry"/>
        </mxCell>

        <mxCell id="e1" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="start" target="step1">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e2" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step1" target="step2">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e3" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step2" target="step3">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e4" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step3" target="step4">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e5" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="step4" target="decision">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e6" value="Jā" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="decision" target="success">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e7" value="Nē" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="decision" target="error1">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e8" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="error1" target="error2">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e9" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="error2" target="choice">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e10" value="Mēģināt vēlreiz" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="choice" target="retry">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e11" value="Cita metode" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="choice" target="other_method">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e12" value="Atcelt" style="endArrow=block;html=1;rounded=0;strokeWidth=2;fontStyle=1;" edge="1" parent="1" source="choice" target="cancel">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e13" value="Atkārtots pieprasījums" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="retry" target="step4">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="475" y="880"/>
              <mxPoint x="405" y="880"/>
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="e14" value="Jauns maksājums" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="other_method" target="step3">
          <mxGeometry relative="1" as="geometry">
            <Array as="points">
              <mxPoint x="650" y="1100"/>
              <mxPoint x="650" y="440"/>
            </Array>
          </mxGeometry>
        </mxCell>
        <mxCell id="e15" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="cancel" target="end_cancel">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="e16" value="" style="endArrow=block;html=1;rounded=0;strokeWidth=2;" edge="1" parent="1" source="success" target="end_success">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>

      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
