Our warehouse system recently changed and a new API script was required to update the order status to 'shipped' once a delivery is made.
Once the API does this, a hook is triggered to capture payment via SagePay Creditcard/Paypal.
However the new script doesn't seem to be updating the order status history table, and is therefore not triggering this capture. The exact script has been run on a testing site and it works perfectly.
Attached is an image of what I see against the order. Do you guys have any ideas about what could be causing this not to work on the live site?