Jump to content

API Script not updating Order Status History Table


StuartShaw
 Share

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?

post-1110721-0-44698000-1459861114_thumb.jpg

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More