I am setting $_SESSION
variable inside a payment response file and need this to display on Thank you page. Somehow nothing seems to work so far.
Tried following things:
$_SESSION['test'] = 'Hello World'; // Inside payment response file
Need this in confirm.tpl
file. Tried
{$session->get('test') // does not work
{$smarty.session.test} // does not work
Tried so many other things but nothing seems to work. Also, it's not working for any other variable like $_SERVER
, $_POST
etc.
Any ideas?