añadidos ficheros a falta de modificar el servicio y el controlador redsys

This commit is contained in:
2025-11-02 17:14:29 +01:00
parent 4d451cc85e
commit dc8b67b937
25 changed files with 1115 additions and 3 deletions

View File

@ -38,8 +38,13 @@
</tr>
</tbody>
</table>
<button id="btn-checkout" onclick="location.href='/checkout'" class="btn btn-secondary w-100 mt-2"
th:text="#{checkout.make-payment}" disabled>Checkout</button>
<form th:action="@{/pagos/redsys/crear}" method="post">
<input type="hidden" name="order" value="123456789012" />
<input type="hidden" name="amountCents" th:value="${summary.amountCents}" />
<button id="btn-checkout" type="submit" class="btn btn-secondary w-100 mt-2"
th:text="#{checkout.make-payment}" disabled>Checkout</button>
</form>
</div>
<!-- end table-responsive -->
</div>