Jump to content

Edit History

PrestaMake

PrestaMake

8 minutes ago, byronpk said:

So, it basically fires AFTER the order status was updated by the purchase, (which was too late for me), but the other hook would trigger the moment the entry was made into the history and I'd latch onto that and change the order status in the DB after the call was completed, essentially cheating the system :)

Hope this helps you find a solution that works for you friend

Thank you mate! I will try to check it out more deeply later. As for now I tried to use the following hook

public function hookActionOrderHistoryAddAfter($params) {
echo "hello";
}

and it seems that is not properly working at PS 1.7.4 as it does not do anything :( (and I can not hook my module to ActionOrderHistoryAddAfter, dont know why)

PrestaMake

PrestaMake

7 minutes ago, byronpk said:

So, it basically fires AFTER the order status was updated by the purchase, (which was too late for me), but the other hook would trigger the moment the entry was made into the history and I'd latch onto that and change the order status in the DB after the call was completed, essentially cheating the system :)

Hope this helps you find a solution that works for you friend

Thank you mate! I will try to check it out more deeply later. As for now I tried to use the following hook

public function hookActionOrderHistoryAddAfter($params) {
echo "hello";
}

and it seems that is not properly working at PS 1.7.4 as it does not do anything :(

×
×
  • Create New...