Hello.
I've been viewing this site for a long time, but finally decided to join and ask for help. I'm using citrusDB and a sample code from authorize.net and I want to pass off some information from the citrus DB to the authorize.net code. I've been trying to do this with sessions all night and can't seem to get it. If it means anything, I set up two PHP files one that sets a session variable, and the second that displays it, and that is working fine so I'm not convinced it's a configuration issue.
Here's the code on the citrus file:
echo '</table>';
echo "<p><a href=\"$payment_url\">$l_paybillonline</a>";
$ccproc = $total_due;
echo $ccproc;
$_SESSION['ccproc'] = $ccproc;
echo $_SESSION['ccproc'];
break;
What i tried to do here was set the session variable "ccproc" then display t, and it DOES dislay properly.
Then on the second page:
echo $_SESSION['ccproc'];
and it does not display the same number. As a test, I am using "100.00", so for the first one, it displays "100.00" where I echo both $ccproc, and the session variable.
My error log is saying undefined index on the second page, but when I did this in a test environment with just a simple variable, it was coded exactly the same way, but it worked fine. Any thoughts?
-Austin