{% include 'Doc/States/states_constants_title.html.twig' %}
<ul>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.new} %}
<ul>
<li>The <strong>new</strong> status indicates that an order has been <strong>newly placed</strong> or <strong>created</strong>. It represents the <strong>initial stage</strong> of the checkout process, where the order details have been received, but no further processing has taken place yet.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.pending} %}
<ul>
<li>The <strong>Pending</strong> status signifies that the shop has received the order, and waiting for an action</li>
<li>Event trigger when paying an order or when awaiting payment for offline mode.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.rejected} %}
<ul>
<li>The order shall be marked as <strong>rejected</strong>, upon rejection from the shop for some reason.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.accepted} %}
<ul>
<li>The order shall be marked as <strong>accepted</strong>, upon acception from the shop.</li>
<li>It indicates that the shop has confirmed the availability of items and is ready to fulfill the customer's order.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.paid} %}
<ul>
<li>The <strong>Paid</strong> status indicates that the shop marked the order as "<strong>paid</strong>".</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.late} %}
<ul>
<li>The <strong>accepted</strong> "delayed" status suggests that there has been a delay in the order's progress or estimated completion time.</li>
<li>This can occur due to <strong>unforeseen circumstances</strong>, <strong>high demand</strong>, or any other factors that <strong>temporarily postpone</strong> the order's <strong>readiness</strong>.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.ready} %}
<ul>
<li>The <strong>ready</strong> status indicates that the order is <strong>prepared</strong> and <strong>available</strong> for pickup or delivery. It signifies that the business has <strong>completed</strong> the necessary steps, and the customer can <strong>proceed</strong> to collect their orders.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.cancelled} %}
<ul>
<li>The <strong>cancelled</strong> status represents the <strong>termination</strong> or <strong>cancellation</strong> of the order. This can happen due to <strong>customer request</strong>, <strong>order changes</strong>, or <strong>unforeseen circumstances</strong>. The <strong>cancellation</strong> status confirms that the order will not proceed, and <strong>appropriate actions</strong> may be undertaken.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.failed} %}
<ul>
<li>The order shall be marked as <strong>fails</strong>, when a payment transaction could not be completed.</li>
<li>This status is typically triggered by various reasons, such as <strong>insufficient funds</strong>, <strong>invalid payment details</strong>, <strong>declined authorization</strong>, <strong>technical issues</strong>, or <strong>connectivity problems</strong>.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.delivered} %}
<ul>
<li>The <strong>Delivered</strong> status indicates that the shop marked the order as "<strong>delivered</strong>".</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.refunded} %}
<ul>
<li>The <strong>Refunded</strong> status indicates that the order have been <strong>Cancelled</strong> or <strong>Rejected</strong>.</li>
</ul>
</li>
<li>
{% include 'Doc/States/states_constants.html.twig' with {'state': checkoutConstants.require_action} %}
<ul>
<li>The order status becomes requires action when the online payment provider (e.g. stripe) for the transaction.</li>
<li>This status signifies that there is an <strong>action needed</strong> on the customer end to proceed with the payment process.</li>
</ul>
</li>
</ul>