Jump to content

Edit History

warrios96

warrios96

Hello,

I want to create a module to be able to send messages when an order changes status. Specifically when the purchase is confirmed.

My question is the following, I want to develop a module that sends an event ("update stock") when the purchase of the order is confirmed. I saw hooks but I don't know which one to use. I have thought of having a Prestashop editor in this case and a listener (a program of mine waiting for those events) for when the event arrives to update my personal database. Someone who understands hooks, which ones do I need? What if, in addition to the hooks, I need to know more about prestashop?

 

I am going to use zeroc ice to implement the distributed system. Link Zeroc Ice

 

Thanks in advance.

warrios96

warrios96

Hi,

I want to create a module to be able send messages when one order change the state. In specific when buy is confirmed. 

My question is the following, I want to develop a module that sends an event ("update stock") when the order status is confirmed in my personal database (not in prestashop). I saw hooks but I don't know which one to use. I have thought of having a Prestashop publisher in this case and a listener (a program of mine waiting for those events). Someone who understands hooks, which ones do I need? And if apart from hooks I need to know more about prestashop?.

 

I am going to use zeroc ice to implement the distributed system. Link Zeroc Ice

 

Thanks in advance.

 

 

×
×
  • Create New...