Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need order ID passed as parameter


stanj

Recommended Posts

Posted

Hello

I've been using oSC for a while and everything worked fine until I moved to a host that had php 5.xx and MySql 5.xx,. I downladed osc2.2rc2 and got it working after some changes of syntax to a few queries.

My problem is I used to have URL parameter added to a redirect URL a the order processing Success page. I used to be able to get the global variable $last_order_id and append it to the redirect. This was used to go to another form that collected additional information about the order, referrenced to the order_id. After the change to 2.2rc2 and upgrade to PHP and MySql I can't seem to get the last order number anymore.

I know there are changes in 2.2rc2 that might effect this....but I do not know what it might be.

 

Any ideas?

Thanks

Stan

Posted

I figured it out, a minor php syntax error was preventing the $last_order_id session from being registered on the checkout_process.php page

Archived

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

×
×
  • Create New...