kette 0 Posted December 18, 2009 Hi, How do I get the order_id on the checkout_confirmation.php page, i need it when i post data to thew payment gateway?. I thought maybe it was possible to create the id earlier in the proces? Someone who can help me? A good weekend and a merry christmas to everybody Kind Regards kristian Share this post Link to post Share on other sites
dynamoeffects 3 Posted December 20, 2009 In checkout_process.php before this line: tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')); add this: tep_session_register('order_id'); $_SESSION['order_id'] = $insert_id; Then in your checkout_success.php file, you can access that value like this: echo "Your Order ID is: " . $_SESSION['order_id']; 1 m2a221 reacted to this Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail. Share this post Link to post Share on other sites