Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osCsid


Guest

Recommended Posts

Posted

I have a unique one here I think. I developed a osCommerce site for someone and had everything working ok. The other day he asked me to add a feature (USPS) and when I tried to go through the checkout process it got stuck on checkout_shipping.php page and no matter how many times I hit the continue button it just comes back to the same page. I noticed in another site that I had done that the osCsid follows the file name and it does not in this one I am testing.

 

Can anyone think of a reason why this would be? Any help is appreciated as I don't even know where to start.

 

Jamie

Posted

It can happend in many cases. If you do not register a shipping session or the cartid is invalid it will redirect to the checkout shipping. So just from the checkout payment page here is a sample.

 

// if no shipping method has been selected, redirect the customer to the shipping method selection page
 if (!tep_session_is_registered('shipping')) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
 }

// avoid hack attempts during the checkout procedure by checking the internal cartID
 if (isset($cart->cartID) && tep_session_is_registered('cartID')) {
if ($cart->cartID != $cartID) {
  tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
}
 }

 

And so one thing to do, is to check your checkout_shipping page. and the shipping modules you've installed

Posted

Thank you for your help. That is kind of what it was as the only option I had selected for shipping was USPS but it was disabled so nothing was showing up. I activated it and everything seems to be working good now.

 

Thanks again.

 

Jamie

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...