corregidos varios problemas

This commit is contained in:
2026-02-24 14:32:47 +01:00
parent b7453b1138
commit f3d96361a0
4 changed files with 39 additions and 14 deletions

View File

@ -48,7 +48,7 @@
</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" th:value="${method} ?: 'card'" />
<input type="hidden" name="cartId" th:value="${summary.cartId}" />
<input type="hidden" id="dirFactId" name="dirFactId" value="" />
<button id="btn-checkout" type="submit" class="btn btn-secondary w-100 mt-2"