Jump to content

API Script not updating Order Status History Table


Recommended Posts

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?


Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...