We sale Software -- we need generate serials when STATUS of order changes

Started by ruslan_zasukhin, February 12, 2012, 13:02:45 PM

Previous topic - Next topic

ruslan_zasukhin

Hi Guys,

Out TASK:
    * We did use VM 1.14 for years (with own hacks in fronted and backend), and now we want jump to VM2 ...
    * We have store to sale our Valentina Database products  (20-30 products)
    * User place order into store.  It is not paid automatically.
       Later our Manager go to admin of VM, and in the List of Orders changes STATUS  from Pending to Shipped

At this moment -- when status is changed, we have insert call to our code, which analyze order items, generate SERIALS or even few LICENSE files packed into ZIP,
then send email letter to user and to us.


NOW I WONDER, if VM2 offers any official way  to plug such functionality  and avoid hacking of code ?

i.e. We need handler   OnChangeOrderStatus()  ... something like this ...

thank you for points