terminado pagos

This commit is contained in:
2025-11-06 13:49:15 +01:00
parent 62396eb7a7
commit f13eeb940c
18 changed files with 3552 additions and 12 deletions

View File

@ -123,7 +123,7 @@
<div class="card ribbon-box border shadow-none mb-lg-0 material-shadow">
<div class="card-body">
<div class="ribbon ribbon-primary ribbon-shape" th:text="#{checkout.shipping.order}">Envio
<div class="ribbon ribbon-primary ribbon-shape" th:text="#{cart.shipping.order}">Envio
del pedido
</div>
</div>

View File

@ -38,9 +38,17 @@
</tr>
</tbody>
</table>
<div
class="form-check form-switch form-switch-custom form-switch-presupuesto mb-3 d-row align-items-center mt-2">
<input type="checkbox" class="form-check-input me-2" id="authorization-required"/>
<label for="authorization-required" class="form-label d-flex align-items-center mb-0">
<span th:text="#{checkout.authorization-required}" class="me-2"></span>
</label>
</div>
<form th:action="@{/pagos/redsys/crear}" method="post">
<input type="hidden" name="amountCents" th:value="${summary.amountCents}" />
<input type="hidden" name="method" value="card"/>
<input type="hidden" name="method" value="card" />
<input type="hidden" name="cartId" th:value="${summary.cartId}" />
<button id="btn-checkout" type="submit" class="btn btn-secondary w-100 mt-2"
th:text="#{checkout.make-payment}" disabled>Checkout</button>