Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure Trading


oldcelt

Recommended Posts

For some reason checkout_process.php is redirecting my callback to the login.php page. My callback text is as follows:-

url1 http://www.(my site name).com/catalog/checkout_process.php

 

This is exactly as specified in the Secure Trading STability Payment Module MS2.2.

 

The first function called in checkout_process.php is invoked as follows:

 

// if the customer is not logged on, redirect them to the login page

if (!tep_session_is_registered('customer_id')) ...etc

 

The first line must be returning true but why? It must have returned false before activating the payment page otherwise the system would never have got to ST for payment!

 

I've been chasing this around for two days and I'm desperate for some help please?

Link to comment
Share on other sites

For some reason checkout_process.php is redirecting my callback to the login.php page. My callback text is as follows:-

url1 http://www.(my site name).com/catalog/checkout_process.php

 

This is exactly as specified in the Secure Trading STability Payment Module MS2.2.

 

The first function called in checkout_process.php is invoked as follows:

 

// if the customer is not logged on, redirect them to the login page

if (!tep_session_is_registered('customer_id')) ...etc

 

The first line must be returning true but why? It must have returned false before activating the payment page otherwise the system would never have got to ST for payment!

 

I've been chasing this around for two days and I'm desperate for some help please?

 

Surely somebody must have set this up ok?

 

PLEASE?

Link to comment
Share on other sites

  • 5 months later...
Surely somebody must have set this up ok?

 

PLEASE?

 

Hi,

 

I just got this working, the site I was working on had this problem if Force Cookies was on. You should try that first. Also make sure the hidden form value for oscsid in form.html is there, i.e:

 

<input type="hidden" name="oscsid" value="$oscsid"/>

 

It's a good feeling when it goes through. The guys on the ST help desk are good, and will help you as much as they can too - after all, if it works, they get your money!

 

Ta,

 

Mike

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.

Guest
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...