wwsmith64 Posted April 15, 2004 Share Posted April 15, 2004 I'm kind of new to OSCommerce, but I am beefing up quickly. I have created a payment module for SmartPeople.com which is a fringe player for sure. We want to use the payment gateway's off site payment screen. My module is doing great accessing their screen, passing vaiables over, etc. Unfortunately, after completing the payment screens, when I return, osCommerce has forgotten who the user is and displays the login screen. I have looked into checkout_process.php and the if (!tep_session_is_registered('customer_id')) { code, but it is beyond my skills. Is there something I need to add to the URL or the parameters to keep the "session" alive or identify the user to osCommerce? One remotely possible cause of the problem is that SmartPeople (the processor) does a header redirect on returning control to the osCommerce application. Is there hope? I will be deeply and tangibly indebted to anyone who can get me out of this hole and into the next one. :) Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted April 15, 2004 Share Posted April 15, 2004 Either set FORCE_COOKIE_USE to true or add the session ID to the return URL. If you use tep_href_link, it will add the session ID for you. Hth, Matt Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.