templates/Doc/States/payment.html.twig line 1

Open in your IDE?
  1. {% extends 'Layouts/Doc/default.html.twig' %}
  2. {% block title %}
  3.     {{ 'app.documentation.menu.architecture.drivers'|trans }}
  4. {% endblock %}
  5. {% block headerPageTitle %}
  6.     {{ 'app.documentation.menu.workflow.payments'|trans|upper }}
  7. {% endblock %}
  8. {% block body %}
  9.     <div class="card mb-12">
  10.         <div class="card-body flex-column p-5">
  11.             <div class="d-flex align-items-center h-lg-100px p-5 p-lg-15">
  12.                 <div class="row">
  13.                     <div class="col-md-12 pt-5 scroll-y">
  14.                         <div class="position-relative w-100 text-gray-800">
  15.                             <p><strong>Payment status: </strong>play a crucial role in the click and collect system, providing insights into the progress and outcome of payment transactions. These statuses help track the journey of a payment, from initiation to completion or cancellation. Understanding these payment statuses is essential for both customers and merchants to ensure a smooth and transparent payment experience. Here are some of the key payment statuses you may encounter:</p>
  16.                         </div>
  17.                     </div>
  18.                 </div>
  19.             </div>
  20.             <div class="d-flex flex-column">
  21.                 <div class="row table-responsive">
  22.                     <div class="col-12 offset-3">
  23.                         {% include 'Doc/Diagram/payment.html.twig' %}
  24.                     </div>
  25.                 </div>
  26.             </div>
  27.             <div class="d-flex align-items-center p-lg-15">
  28.                 <div class="row">
  29.                     <div class="col-md-12 pt-5 scroll-y">
  30.                         {% include 'Doc/States/states_constants_title.html.twig' %}
  31.                         <ul>
  32.                             <li>
  33.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.new} %}
  34.                                 <p>
  35.                                     <ul>
  36.                                         <li>The <strong>new</strong> payment status typically indicates that a payment transaction has been initiated or recorded in the system but is awaiting further processing or verification.</li>
  37.                                         <li>When a customer completes the checkout process and proceeds to payment, the payment information is <strong>captured by the system directly</strong>, otherwise via <strong>notification</strong> from our payment solutions <strong>webhooks</strong>.</li>
  38.                                         <li>At this stage, the payment status is marked as <strong>new</strong>, to signify that the transaction is <strong>awaiting for updated</strong> on the payement.</li>
  39.                                     </ul>
  40.                                 </p>
  41.                             </li>
  42.                             <li>
  43.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.requires_action} %}
  44.                                 <p>
  45.                                     <ul>
  46.                                         <li>When a payment transaction encounters certain conditions or requires additional verification such as <strong>3D Secure</strong>, the payment status may be set as <strong>Requires action</strong>.</li>
  47.                                         <li>This status signifies that there is an <strong>action needed</strong> on the customer end to proceed with the payment process.</li>
  48.                                     </ul>
  49.                                 </p>
  50.                             </li>
  51.                             <li>
  52.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.awaiting_payment} %}
  53.                                 <p>
  54.                                     In case of an offline payment and during the creation of an order payment, the status becomes <strong>awaiting payment</strong> waiting to pay for the order.
  55.                                 </p>
  56.                             </li>
  57.                             <li>
  58.                                 <div id="failed-section">{% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.failed} %}</div>
  59.                                 <p>
  60.                                     <ul>
  61.                                         <li>When a payment transaction <strong>fails</strong>, the payment status is set as <strong>failed</strong> to indicate that the payment could not be completed.</li>
  62.                                         <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>
  63.                                     </ul>
  64.                                 </p>
  65.                             </li>
  66.                             <li>
  67.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.processing} %}
  68.                                 <p>
  69.                                     <ul>
  70.                                         <li>When a customer submits the payment information, we usually recieve a <strong>pending</strong> event. In this stage the payment status is initially set as <strong>processing</strong>.</li>
  71.                                         <li>This status indicates that the payment transaction has been received and is <strong>being proccessed</strong> by the payment gateway or processor.</li>
  72.                                     </ul>
  73.                                 </p>
  74.                             </li>
  75.                             <li>
  76.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.partially_paid} %}
  77.                                 <p>
  78.                                     This status indicates that an order is partially paid, and is awaiting full payment.
  79.                                 </p>
  80.                             </li>
  81.                             <li>
  82.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.cancelled} %}
  83.                                 <p>
  84.                                     <ul>
  85.                                         <li>The <strong>cancelled</strong> payment status is assigned when a payment transaction is intentionally <strong>terminated</strong> or <strong>invalidated</strong> before <strong>completion</strong>.</li>
  86.                                         <li>This status signifies that the payment process has been <strong>discontinued</strong>, and the associated funds have not been <strong>transferred</strong> or <strong>captured</strong>.</li>
  87.                                     </ul>
  88.                                 </p>
  89.                             </li>
  90.                             <li>
  91.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.paid} %}
  92.                                 <p>
  93.                                     <ul>
  94.                                         <li>The <strong>paid</strong> payment status is assigned when the payment transaction has been <strong>successfully authorized</strong>, <strong>processed</strong>, and the funds <strong>have been captured</strong>.</li>
  95.                                         <li>It signifies that the payment has been <strong>successfully completed</strong>, and the associated funds have been transferred from the <strong>customer's account</strong> to the <strong>merchant's account</strong>.</li>
  96.                                     </ul>
  97.                                 </p>
  98.                             </li>
  99.                             <li>
  100.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.partially_refunded} %}
  101.                                 <p>
  102.                                     This status indicates that an order is partially refunded.
  103.                                 </p>
  104.                             </li>
  105.                             <li>
  106.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.refunded} %}
  107.                                 <p>
  108.                                     Indicates that the payment was refunded due to order <strong>cancellation</strong> or <strong>rejection</strong>.
  109.                                 </p>
  110.                             </li>
  111.                             <li>
  112.                                 {% include 'Doc/States/states_constants.html.twig' with {'state': paymentConstants.expired} %}
  113.                                 <p>
  114.                                     <ul>
  115.                                         <li>The </strong>expired</strong> payment status is assigned when a payment transaction <strong>has not been completed</strong> within a <strong>predefined timeframe</strong> or has surpassed its <strong>validity period</strong>.</li>
  116.                                         <li>This status signifies that the payment attempt has become <strong>invalid</strong> and cannot be processed further.</li>
  117.                                     </ul>
  118.                                 </p>
  119.                             </li>
  120.                         </ul>
  121.                     </div>
  122.                 </div>
  123.             </div>
  124.         </div>
  125.     </div>
  126. {% endblock %}