Right, I am using Worldpay for online credit card transactions and currently have a callback script that WorldPay runs once the transaction is complete. Now, the callback works fine for adding the new order to the database but I want to set a cookie in the callback. If tried the obvious (setcookie("test","test")😉 and also setting the domain name and directory e.g.
setcookie("testCookie","helloworld",time() + 90 * 86400,"/","www.domain.co.uk");
but this still does not work. Am I expecting to much to be able to set a cookie from the callback scipt?
Thanks