Hi,
I'm one step further now: i've put the code in the onAfterOrderUpdate and check for the status of the order like this:
if($order->order_status =='confirmed')
Is this the correct way to do it? Our goods are delivered without advance payment. We put an invoice with the goods, so there is no payment effectuated (I have activated the bank payment plugin).
What I'm wondering is why in the API description it is mentioned that the onAfterOrderConfirm function is called when the order is created at the end of the checkout. This does not seem to be the case, at least in my plugin this method is never called. Or ist this only valid inside a hikashoppayment plugin?
Thanks,
Michel