fix: pago.reintentar usa nombre_remitente del flujoData igual que el primer intento
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
97e1bdb72b
commit
c294d3f2b8
@@ -1472,8 +1472,9 @@ class PublicChat extends Component
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$datosPago = $this->flujoData['datosPago'];
|
$datosPago = $this->flujoData['datosPago'];
|
||||||
$resultado = app(\App\Services\PagoValidadorService::class)->validar($datosPago, $this->userId, $this->nombreUsuario, 'web');
|
$nombreParaValidar = $this->flujoData['nombre_remitente'] ?? $this->nombreUsuario;
|
||||||
|
$resultado = app(\App\Services\PagoValidadorService::class)->validar($datosPago, $this->userId, $nombreParaValidar, 'web');
|
||||||
$motivo = $resultado['motivo'] ?? '';
|
$motivo = $resultado['motivo'] ?? '';
|
||||||
|
|
||||||
if ($resultado['estado'] === 'confirmado') {
|
if ($resultado['estado'] === 'confirmado') {
|
||||||
|
|||||||
Reference in New Issue
Block a user