Passing sessionID to activateOrder ?

Author Message

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

H-Works Agency

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.

Martin

EZP is Great

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.