Hi lat9.

So I have everything working perfectly on a test file. However, when I include the code to the checkout process I get the following error:

[13-Aug-2014 16:58:02 UTC] PHP Fatal error: Call to a member function Execute() on a non-object in /home/site/public_html/includes/mycode-includes.php on line 285

I include the code using the following:
include('includes/mycode-includes.php');

this file is included directly after the sending of emails in the includes/classes/order.php file

This works for my code I already had previously but it doesn't seem to like the new code.

Its worth noting that code I previously used never used the execute function hence why I haven't had this error before. When I look at the code in the order.php file there are many times it is using the Execute function so I am a little confused why its not liking it?

Any ideas?

Thanks

Phil