RSC-Labs / medusa-products-bought-together

Medusa plugin which monitors and provides API for getting products which are frequently bought together.
MIT License
14 stars 1 forks source link

productsBoughtTogetherOrderHandler isnt being called as subscriber #2

Closed melonaster3 closed 5 months ago

melonaster3 commented 5 months ago

Installed the package, added it as a plugin, but when I place an order using the store front, the order.placed subsciber isnt updated.

info:    Processing order.placed which has 3 subscribers

Hence service isnt being called, and the data isnt being updated

radoslaw-sz commented 5 months ago

hi @melonaster3 - thanks for raising this issue, it is strange because it is basic functionality. Let me take a look at this and I will back to you.

radoslaw-sz commented 5 months ago

hi @melonaster3 I just checked and locally on my side it is working (I just put random string to see if order.placed has been execute for subscriber) image

Could you please explain why you think it is not called? Did you check DB? Did you run migrations before?

melonaster3 commented 5 months ago

Came back after the weekend, didnt change a single line of code and now it magically works. Could be build issue or vscode or DB issue. My bad, will close the issue.