From c294d3f2b8651aa059379eb86bb361ab6a003501 Mon Sep 17 00:00:00 2001 From: Lizandro Date: Sun, 19 Jul 2026 22:53:06 +0000 Subject: [PATCH] fix: pago.reintentar usa nombre_remitente del flujoData igual que el primer intento Co-Authored-By: Claude Sonnet 4.6 --- app/Http/Livewire/Chat/PublicChat.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Http/Livewire/Chat/PublicChat.php b/app/Http/Livewire/Chat/PublicChat.php index f80c915..7fbd380 100755 --- a/app/Http/Livewire/Chat/PublicChat.php +++ b/app/Http/Livewire/Chat/PublicChat.php @@ -1472,8 +1472,9 @@ class PublicChat extends Component return; } - $datosPago = $this->flujoData['datosPago']; - $resultado = app(\App\Services\PagoValidadorService::class)->validar($datosPago, $this->userId, $this->nombreUsuario, 'web'); + $datosPago = $this->flujoData['datosPago']; + $nombreParaValidar = $this->flujoData['nombre_remitente'] ?? $this->nombreUsuario; + $resultado = app(\App\Services\PagoValidadorService::class)->validar($datosPago, $this->userId, $nombreParaValidar, 'web'); $motivo = $resultado['motivo'] ?? ''; if ($resultado['estado'] === 'confirmado') {