trabajando en obtener las direcciones para guardar

This commit is contained in:
2025-11-07 20:11:23 +01:00
parent 90239be31e
commit 7254c8f11b
7 changed files with 238 additions and 15 deletions

View File

@ -36,7 +36,7 @@ public class PaymentService {
this.payRepo = payRepo;
this.txRepo = txRepo;
this.refundRepo = refundRepo;
this.redsysService = redsysService;
this.redsysService = redsysService;
this.webhookEventRepo = webhookEventRepo;
this.cartService = cartService;
}
@ -456,6 +456,8 @@ public class PaymentService {
if (cart != null) {
// Bloqueamos el carrito
this.cartService.lockCartById(cart.getId());
// Creamos el pedido
this.cartService.crearPedido(cart.getId());
// order ID es generado dentro de createOrderFromCart donde se marcan los
// presupuestos como no editables
// Long orderId =