Forums / Developer / Passing sessionID to activateOrder ?
H-Works Agency
Thursday 15 February 2007 4:34:38 am
How can i pass a sessionID to eZShopOperationCollection::activateOrder($orderID).
I have to use this function by passing a sessionID from a remote server ?
Thanx in advance,
Martin
EZP is Great
Claudia Kosny
Monday 26 February 2007 11:45:42 am
Hi Martin
I think I don't understand the question properly so could you please give a bit more details? If you need the current session id of the eZuser you should be able to grab within the function using session_id() . If you get some variable passed from a remote server which you need in activateOrder, the receiving script could put the variable in the session and activateOrder cold retrieve it from there.
Claudia
Wednesday 28 February 2007 12:11:42 am
Thanx Claudia...in fact i didn't even try to : session_id($sessionID) before using activateOrder.
Now its working.