| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Modify Payment Details error | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I took over for another developer for transitioning an x-cart installation from one server to another. I also upgraded to 4.0.17 in the process. One thing I noticed though and I am not sure if this happened on the old server but I assume it was happening because it was part of the uneditted code:
When a user adds something to the cart and then starts the checkout process and they try to modify their payment details after selecting a payment method I seem to run into problems. From this page... http://www.rjmodelships.com/store/register.php?mode=update&action=cart&paymentid=18 The user can change their payment details but once they hit submit on this page it seems to go to http://www.rjmodelships.com/store/search.php?mode=search I have looked all over register.php, include/register.php and the register.tpl and I can't seem to figure out where this is coming from. I even echo'd the {$register_script_name}?{$smarty.server.QUERY_STRI NG} which is in the register.tpl and it outputs the correct string which is register.php?mode=update&action=cart&paymentid=18 Obviously somewhere in the register.php (the include) it sends it to the search.php and I just can not figure out why or where that is. Any help with this would be greatly appreciated. Thanks!
__________________
TheCorp Xcart 4.0.17 Pro mySQL4.0.20 PHP 4.3.7 |
|||||||
#2
|
|||||||
|
|||||||
![]() Anyone have any ideas?
__________________
TheCorp Xcart 4.0.17 Pro mySQL4.0.20 PHP 4.3.7 |
|||||||
#3
|
|||||||
|
|||||||
![]() I'd open a ticket with X-Cart on this one.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
![]() Id rather not open a ticket yet, I wont be beat by this bug! Hehe. Anyways in the register.php (main folder, not the include register.php) there is this chunk of code...
if ($REQUEST_METHOD == "POST" && $action == "cart") { if (empty($reg_error)) func_header_location("cart.php?mode=checkout&payme ntid=$paymentid"); } Its apparently the root of my problem. For whatever reason the Request method and action do not equal what they should so it never gets inside this if statement to send things onto the cart. Any ideas why this might be? I checked the FORM in the register.tpl and all the right things seem to be there.
__________________
TheCorp Xcart 4.0.17 Pro mySQL4.0.20 PHP 4.3.7 |
|||||||
|
|||
X-Cart forums © 2001-2020
|