diff --git a/app/src/Service/Venta/MediosPago/Toku.php b/app/src/Service/Venta/MediosPago/Toku.php index 7794050..4468999 100644 --- a/app/src/Service/Venta/MediosPago/Toku.php +++ b/app/src/Service/Venta/MediosPago/Toku.php @@ -436,7 +436,7 @@ class Toku extends Ideal\Service $query = $this->connection->getQueryBuilder() ->select('secret') ->from('toku_webhooks') - ->where('enabled = ? AND event_type LIKE ?'); + ->where('enabled = ? AND events LIKE ?'); $params = [true, "%\"{$eventType}\"%"]; $statement = $this->connection->prepare($query); $statement->execute($params);