Describe the bug
When finalizing the purchase, you need the order_created and order_placed events, but the error below was displayed.
Uncaught TypeError TypeError: query.and is not a function
at loadEvents (c:\Users\lpdsa\Documents\Projetos\SquidTech\Git\ecommerce\node_modules\@evershop\evershop\src\lib\event\event-manager.js:73:11)
at (c:\Users\lpdsa\Documents\Projetos\SquidTech\Git\ecommerce\node_modules\@evershop\evershop\src\lib\event\event-manager.js:38:29)
at listOnTimeout (internal/timers:573:17)
at processTimers (internal/timers:514:7)
Expected behavior
I need the events (order_created and order_placed). The event was not generated
Screenshots
Background (please complete the following information):
Describe the bug When finalizing the purchase, you need the order_created and order_placed events, but the error below was displayed.
Uncaught TypeError TypeError: query.and is not a function at loadEvents (c:\Users\lpdsa\Documents\Projetos\SquidTech\Git\ecommerce\node_modules\@evershop\evershop\src\lib\event\event-manager.js:73:11) at (c:\Users\lpdsa\Documents\Projetos\SquidTech\Git\ecommerce\node_modules\@evershop\evershop\src\lib\event\event-manager.js:38:29)
at listOnTimeout (internal/timers:573:17)
at processTimers (internal/timers:514:7)
Expected behavior I need the events (order_created and order_placed). The event was not generated
Screenshots
Background (please complete the following information):