Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Offsite Payment module logs out user


Recommended Posts

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. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...