I'm trying to add online payment in my magento store and the bank that I work with suggest for making tests that I send to them some variables for testing the security (between them the SID).
So my question is how to get SID in magento.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou can get the session ID with the below code:
$session = Mage::getSingleton('core/session');
$SID = $session->getEncryptedSessionId(); //current session id
You can easily get session-id from the core/session model.