Need help on a PHP Shopping Cart
Posted: Thu Apr 08, 2004 3:07 pm
Hello PHP.com Forum,
This is my first post! I admit I'm very new to the PHP language which is why I'm here.
I am working on this website @ http://www.westcoasttoolsupply.com
Basically they have a custom made shopping cart etc...
The company that handles the credit card transactions stopped hosting the interchange page. It is my job to change the website accordingly to handle the new interchange page which we signed up for.
I have uploaded the 3 php files which will send the information to the new interchange page. This is not the problem. The problem is in my shop2.php file generates the total amount. I need to figure out a way using x_amount to post it on shop3.php (which is the page that posts the information to sim.php which is all I need... and the x_description as well)
Once I have a total on shop3.php it will then post it on sim.php and let the interchange page handle the rest from there. I just need help carrying that grand total over to the shop3.php page then from there I can use
<input type="hidden" name="x_amount" value="<?$your_amount_variable_here? or something to that extent.
Hopefully you guys can understand this. THanks!!!
This is my first post! I admit I'm very new to the PHP language which is why I'm here.
I am working on this website @ http://www.westcoasttoolsupply.com
Basically they have a custom made shopping cart etc...
The company that handles the credit card transactions stopped hosting the interchange page. It is my job to change the website accordingly to handle the new interchange page which we signed up for.
I have uploaded the 3 php files which will send the information to the new interchange page. This is not the problem. The problem is in my shop2.php file generates the total amount. I need to figure out a way using x_amount to post it on shop3.php (which is the page that posts the information to sim.php which is all I need... and the x_description as well)
Once I have a total on shop3.php it will then post it on sim.php and let the interchange page handle the rest from there. I just need help carrying that grand total over to the shop3.php page then from there I can use
<input type="hidden" name="x_amount" value="<?$your_amount_variable_here? or something to that extent.
Hopefully you guys can understand this. THanks!!!