Jump to content
Sign in to follow this  
oldcelt

Secure Trading

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?

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×