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') {