{% extends 'Layouts/Doc/default.html.twig' %}
{% block title %}
{{ 'app.documentation.menu.architecture.drivers'|trans }}
{% endblock %}
{% block headerPageTitle %}
{{ 'app.documentation.menu.workflow.multiple-payments'|trans|upper }}
{% endblock %}
{% block body %}
<div class="card mb-12">
<div class="card-body flex-column p-5">
<div class="d-flex align-items-center h-lg-100px p-5 p-lg-15">
<div class="row">
<div class="col-md-12 pt-5 scroll-y">
<div class="position-relative w-100 text-gray-800">
<p><strong>Multiple payments: </strong>typically refers to the ability to accept more than one payment for an order. This is common in retail and e-commerce settings where customers may want to pay using different methods such as cash, credit/debit cards, etc.... Offering multiple payment options can enhance convenience for customers and potentially increase sales for businesses by accommodating different preferences and situations.</p>
<p>To make a payment, the <strong>amount</strong> is required</p>
<p>Up to now, multiple payments are enabled only when using <strong>cashback</strong> to pay a part of the order's amount.</p>
</div>
</div>
</div>
</div>
<div class="d-flex flex-column">
<div class="row table-responsive">
<div class="col-12 offset-1 p-10">
{% include 'Doc/Diagram/multi-payments.html.twig' %}
</div>
</div>
</div>
<div class="d-flex align-items-center p-lg-15">
<div class="row">
<div class="col-md-12 pt-5 scroll-y">
<p>Here's a general outline of a multi-payment workflow:</p>
<ul>
<li>The customer is presented with multiple payment options such as cash, credit/debit card, etc...</li>
<li>The customer selects the desired payment methods they want to use to make order. They may choose one or multiple payment methods depending on their preference and the availability provided by the shop.</li>
<li>Once the first payment is executed, the customer can continue by choosing another payment method until the total amount is paid</li>
<li>Each authorized payment method is processed individually through the respective payment networks. This might involve communication with banks, payment processors, or other financial institutions.</li>
<li>After each payment is successfully processed, the system confirms the transaction for each payment method. This may involve printing receipts, displaying confirmation messages, or sending email receipts to the customer.</li>
<li>Once all payment methods are successfully processed and payed, the order is considered complete.</li>
</ul>
</div>
</div>
</div>
</div>
</div>
{% endblock %}