diff --git a/app/src/Service/Venta/MediosPago/Toku.php b/app/src/Service/Venta/MediosPago/Toku.php index 4468999..8b1aef8 100644 --- a/app/src/Service/Venta/MediosPago/Toku.php +++ b/app/src/Service/Venta/MediosPago/Toku.php @@ -2,6 +2,7 @@ namespace Incoviba\Service\Venta\MediosPago; use InvalidArgumentException; +use PDO; use Psr\Http\Message\ServerRequestInterface; use Incoviba\Common\Define\Connection; use Incoviba\Common\Ideal; @@ -440,7 +441,7 @@ class Toku extends Ideal\Service $params = [true, "%\"{$eventType}\"%"]; $statement = $this->connection->prepare($query); $statement->execute($params); - $results = $statement->fetchColumn(); + $results = $statement->fetchAll(PDO::FETCH_COLUMN); if (count($results) === 0) { return false; }