Hi, sorry to use 'urgent' in the title, but the site is supposed to go live on Monday and at the moment it is really broken.
I am doing a lot of processing to add stuff to custom database tables in a hikashop plugin in the function onAfterOrderUpdate. Using the Check payment method set to confirm payments immediately, everything worked. We started implementing Worldpay Business and found the payment plugin didn't work and you supplied us with a new one called bf_rbsbusinessgateway_2012-03-27. This plugin works fine with Worldpay, unfortunately my custom plugin is now broken:
When an order is confirmed at Worlpay, onAfterOrderUpdate is called but the $order parameter is empty. I added an implementation of onAfterOrderConfirm (which I saw was implemented in the payment plugin) to pass through to onAfterOrderUpdate, and now the $order parameter contains the updated order status and history, but when I call the hikashop helper loadFullOrder($order->order_id) the return value is empty. I absolutely need to access the full order when payment comes back confirmed, and I cannot understand why hikashop cannot retrieve it when given a valid order Id.
Any help you can give us would be much appreciated.
Regards,
Jerry