Jump to content

Session problem with different browsers on redirecting from payment gateway


Recommended Posts

We are trying to capture customer details & redirecting the customer to payment gateway page and, after succesful transaction from payment gateway we are facing a problem for different browsers.

 

Ideally after successful transaction the page should redirect to order confirmation page but it is redirecting to our cart page.In IE7 it is working fine but in mozilla firefox it is redireting to cart page.On analyzing we found that session is not persisting in firefox.

Please help we have stuck here  :'( Suggest something if you have faced similar issue with different browsers.

Link to comment
Share on other sites

It's likely that you are redirecting back to a URLs on your site that has or doesn't have a www. (the hostname/subdomain) as part of the URL and it doesn't match the hostname/subdomain on the URL where you started the session and in the browser(s) where this does work, you probably have a matching session due to the URL where you started the session matching the URL you are redirecting back to.

 

Are you consistently using URL's all with or all without the www. and what is your session.cookie_domain setting?

Link to comment
Share on other sites

It's likely that you are redirecting back to a URLs on your site that has or doesn't have a www. (the hostname/subdomain) as part of the URL and it doesn't match the hostname/subdomain on the URL where you started the session and in the browser(s) where this does work, you probably have a matching session due to the URL where you started the session matching the URL you are redirecting back to.

 

Are you consistently using URL's all with or all without the www. and what is your session.cookie_domain setting?

 

Thanks a lot !!  :D it worked, we were using wrong url.

 

I have not set  session.cookie_domain in php.ini. BTW what is the function of this attribute.

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.