Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal return - login expired - IE8

Paypal return - login expired - IE8

Locked

Views: 16,494

Results 1 to 20 of 39
This thread is locked. New replies are disabled.
13 Jul 2009, 8:20 PM
#1
ericnma avatar

ericnma

New Zenner

Join Date:
Jul 2009
Posts:
4
Plugin Contributions:
0

Paypal return - login expired - IE8

My customer is getting this as soon as he tries to use paypal to checkout from my site, then he does it again and gets the same message...

Whoops! Your session has expired.
If you were placing an order, please login and your shopping cart will be restored. You may then go back to the checkout and complete your final purchases.

If you had completed an order and wish to review it, or had a download and wish to retrieve it, please go to your My Account page to view your order.

Login Email Address:
Password:

14 Jul 2009, 3:00 AM
#2
ericnma avatar

ericnma

New Zenner

Join Date:
Jul 2009
Posts:
4
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

My site is over at http://www.nomoreashes.com

If anyone can give me any ideas I would appreciate it, I can not duplicate the issue but I fear I have had at least a few customers leave because of this.

3 Sep 2009, 8:21 PM
#3
srt9969 avatar

srt9969

New Zenner

Join Date:
Jan 2009
Posts:
62
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I have posted about this before, but am now not convinced that it is not a Zen (ie. my) problem.
A number of my customers have had problems ordering - specifically, they place an order, log in to PayPal, pay, return to site, and are logged out. The order is not recorded, and payment is not captured.
This is an excerpt from an email from one of my customers:-

"I am trying to place an order and every time I go through paypal log in and press to pay it takes me back to your site and says login has expired - so I am unable to place the order."

Meanwhile, other orders are processed without a problem.

I have been assuming this was a PayPal/Internet Explorer 8 problem, as explained by PayPal Help team (actually, they placed the blame firmly with IE8, but I reckon it takes 2 to tango....). The problem with that is it leaves me helpless, and losing money big time.

So, does anyone have any experience of this? Have you fixed it? If so, how? Or, is it actually a Zen problem, and something I can do something about?

Any help or comments will be greatly appreciated, even if it's only from others facing the same issue (along with more details of the problem, if you have them; eg. is it confined to IE8, or other browsers too, etc.)
1.3.8a
Cherry Zen (modified)

Thank you,

Sean

14 Sep 2009, 5:43 PM
#4
simonbbc avatar

simonbbc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I am experiencing the same thing with many of my customers IE8 seems to be the culprit too, it must be a security setting so how do we go about checking this one then??????:huh:

15 Sep 2009, 11:09 AM
#5
srt9969 avatar

srt9969

New Zenner

Join Date:
Jan 2009
Posts:
62
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I have no idea, and I'm still getting problems.
It seems, from people I've spoken to, that they have no problems paying for goods through PayPal on other sites, so this makes me think that maybe it is not a IE/PayPal issue, but a Zen/PayPal issue.
With 160 views of this thread, you'd've thought someone might have an idea as to the problem, and/or a workaround. I don't know enough about transaction processing to even begin to find the problem.
Please? Dr. Byte, you must have seen this thread. Please at least post to say you don't know either! (Actually, I'd prefer a solution, or a pointer in the right direction...)

Thanks

Sean

20 Sep 2009, 9:45 PM
#6
bazmw avatar

bazmw

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I too am having this problem, I'm a new user setting up my first store using 1.38

When I process a PayPal Express order, everything is fine through the Paypal process but when the transaction is complete and I return to my site I get the **Whoops, session expired **(it's not a timing issue) and the shopping cart is gone (as it would be as we have just started a new session).

This is definately a IE8 problem, works fine in Firefox and IE8 compatibility mode ( compatibility mode from clicked icon). Tried the Meta tag to force IE7 compatibility but this didn't fix it.:frusty:

I have removed and reinstalled the PayPal modules and tried the Classic template. I have set up a Sandbox account and still get the problem. I'm sure it's just a session handler mismatch but I'm stuffed if I know where to look or what I would do if I found it :cry:

Any help would be appreciated.

Barry

22 Sep 2009, 2:33 PM
#7
simonbbc avatar

simonbbc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

Well I noticed that this is happening with Magneto too, and they change there Validate HTTP_USER_AGENT string to NO

Can we do the same ???

magen tocommerce.com/boards/viewthread/40221/

Here is the link

22 Sep 2009, 2:40 PM
#8
simonbbc avatar

simonbbc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

Although my User Agent setting is set to false in sessions but if it works for them why not us?

22 Sep 2009, 2:58 PM
#9
simonbbc avatar

simonbbc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I have now set recreate session to false and will try this...... makes sense:frusty:

22 Sep 2009, 9:49 PM
#10
bazmw avatar

bazmw

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

Tonight I have tried several things including disabling https, still no joy.

I vistited lots and lots of the sites listed in "Live Showcase Shops" and only found two stores where PayPal returns to the correct page (easiest way to check is to click Cancel and Return to... on the first PayPal page). Clicking this should take you to the CheckOut page where you can chose to log in/ create account/ use Paypal. It does this in IE7, IE8 (full compatibility Mode) and FireFox.

With IE8 running in IE8 mode, your session is lost, the cart disapears and you are redirected to the Login page.

As Windows 7 release is just around the corner, IE8 is going to become quite popular and this problem will cost people a lot of sales.

I have put a warning on my site asking people to enable Compatibility Mode, but this seems so unprofessional, especially on a brand new site.

Before tonight I thought it was possibly something that I had done to break the cart but finding that the problem is so widespread, I'm surprised that the forum isn't inundated with requests for help.

Thanks in advance :)

Barry

23 Sep 2009, 10:18 AM
#11
simonbbc avatar

simonbbc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I am already loosing alot of business because of this and maybe some people don't know about this.... YET??

Switching to compatibility mode

Tools

Compatibility View Settings

Display all websites in Compatibility View

I think this is what you mean right??

Shame there is not a code to enable this on page visit ....

7 Oct 2009, 11:53 AM
#12
simonbbc avatar

simonbbc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I am still getting the Paypal Express reports from customers.
They are telling me everyday that they are not able to complete transactions due to timeout.
When I question further I find that Internet Explorer 8 is a major part in this....
It is something that is causing a lot of business to dissapear or get frustrated and this can't be good.
Magento works find once User agent is disbaled....

What can Zen Cart do to solve this problem....???

I will be moving away very soon if this is not solveable, I can'r believe more people aren't on forums making comments about it or atleast trying to find out what is going on.....:censored:

please take a look at the site and see for yourself...... https://www.simonbbc.com/automotiveshop

7 Oct 2009, 11:40 PM
#13
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I am having this EXACT SAME PROBLEM with the Google Checkout Module I installed a couple of weeks ago. I feel like giving up.

What is this 'compatibility' view that was talked about?

KD

11 Oct 2009, 3:52 AM
#14
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

I was really hoping by now that someone would have an answer for this thread... I'm having the same issue with Google Checkout... and I've noticed that both PayPal and GC people are posting about it, with very few answers. I'm about ready to pay someone to come in and take over with the payment module. :(

15 Oct 2009, 10:50 AM
#15
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

Hi All

I need some urgent help from the Zen community please!!

My shop has been running just fine for the last 5 months. I moved to new hosting servers a week ago and everything seemed to be just perfect, except our order volumes fell. I started getting emails from shoppers saying that they are having "Whoops, your session has expired" errors.

Upon investigation, it seems to happen when a shopper is transferred to PayPal, and once they log into their account and press the "Pay Now" button, it immediately jumps back to my shopping cart on the time_out page. (I use Express Checkout)

Here's the other strange thing, when I asked one of my customers having the problem, to try Firefox, it worked without the timeout problem, I also did a purchase myself using Firefox with no problems, so it seems to be an IE issue perhaps?

I changed from filebased caching to database caching as well and this makes no difference.

I then switched on debug, and here are the messages I received whilst a customer was trying to do a purchase (which also came up as session timed out):

First email:

Checking to see if we are in markflow
 cart contents: physical
  
 NOTE: $this->showPaymentPage = 0
 Customer ID: 202
 Session Data: Array
 (
     [securityToken] => d7187b0b905a2f7299e3fbd7f67d57a1
     [customers_host_address] => 91.85.138.80
     [cartID] => 
     [cart] => shoppingCart Object
         (
             [contents] => Array
                 (
                     [1:c67a93707abd36d886c00bda2ad5b9cf] => Array
                         (
                             [qty] => 3
                             [attributes] => Array
                                 (
                                     [1] => 1
                                 )
  
                         )
  
                 )
  
             [total] => 30
             [weight] => 0
             [cartID] => 
             [content_type] => physical
             [free_shipping_item] => 0
             [free_shipping_weight] => 0
             [free_shipping_price] => 0
             [observers] => Array
                 (
                 )
  
         )
  
     [navigation] => navigationHistory Object
         (
             [path] => Array
                 (
                     [0] => Array
                         (
                             [page] => index
                             [mode] => NONSSL
                             [get] => Array
                                 (
                                     [type] => ec
                                 )
  
                             [post] => Array
                                 (
                                 )
  
                         )
  
                 )
  
             [snapshot] => Array
                 (
                 )
  
             [observers] => Array
                 (
                 )
  
         )
  
     [check_valid] => true
     [language] => english
     [languages_id] => 1
     [languages_code] => en
     [currency] => GBP
     [today_is] => 2009-10-14
     [updateExpirations] => 1
     [session_counter] => 1
     [customers_ip_address] => 91.85.138.80
     [customer_id] => 202
     [customer_default_address_id] => 215
     [customers_authorization] => 0
     [customer_first_name] => robert
     [customer_last_name] => barratt
     [customer_country_id] => 222
     [customer_zone_id] => 0
     [valid_to_checkout] => 1
     [cart_errors] => 
     [payment] => paypalwpp
     [cot_gv] => 0
 )

Second email:

cart contents is not all virtual or customer is not logged in ... therefore will be submitting address details

Third email:
```
not logged in and not in markflow mode - nothing to override



Fourth email:
    ```
address details from override check:

Fifth email:

Array
(
    [AMT] => 30.00
    [RETURNURL] =>
[URL]http://tickets.elmbridgechoir.co.uk/zencart/ipn_main_handler.php?type=ec[/URL]
    [CANCELURL] =>
[URL]http://tickets.elmbridgechoir.co.uk/zencart/index.php?main_page=checkout_shipping&ec_cancel=1[/URL]
    [LOCALECODE] => GB
    [CURRENCY] => GBP
    [PAYMENTACTION] => Sale
    [EMAIL] => [email protected]

    [PHONENUM] => 00003334444
    [SOLUTIONTYPE] => SOLE
)

Sixth (and last) email:

2009-10-14 12:31:29
-------------------
(live transaction) --> [URL]https://api-3t.paypal.com/nvp[/URL] Request Headers: 
Array
(
   [0] => Content-Type: text/namevalue
   [1] => X-VPS-Timeout: 45
   [2] => X-VPS-VIT-Client-Type: PHP/cURL
   [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart - WPP-NVP
   [4] => X-VPS-VIT-Integration-Version: 1.3.8a
)


Request Parameters: {SetExpressCheckout} Array (
   [LOCALECODE] => GB
   [PAYMENTACTION] => Sale
   [EMAIL] => [EMAIL="[email protected]"][email protected][/EMAIL]
   [PHONENUM] => 00003334444
   [AMT] => 30.00
   [RETURNURL] =>
[URL]http://tickets.elmbridgechoir.co.uk/zencart/ipn_main_handler.php?type=ec[/URL]
   [CANCELURL] =>
[URL]http://tickets.elmbridgechoir.co.uk/zencart/index.php?main_page=checkout_shipping&ec_cancel=1[/URL]
   [PAGESTYLE] => Primary
   [METHOD] => SetExpressCheckout
   [CURRENCYCODE] => GBP
   [USER] => tickets_api1.elmbridgechoir.co.uk
   [PWD] => ****************
   [VERSION] => 3.2
   [SIGNATURE] => ****************************************************0hGs
)


Response: 
Array
(
   [TOKEN] => EC-4X779991GE638332J
   [TIMESTAMP] => 2009-10-14T12:31:32Z
   [CORRELATIONID] => 5a896b05d8cb7
   [ACK] => Success
   [VERSION] => 3.2
   [BUILD] => 1077585
   [CURL_ERRORS] => 
)

At this point it times out from PayPal and I receive no further debug emails.

I have tried everything, including changing the config.php to different settings. Here is my config.php as it stands now:

<?php
/**
 * @package Configuration Settings circa 1.3.8
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 */


/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/

// Define the webserver and path parameters
  // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
  // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  define('HTTP_SERVER', 'http://tickets.elmbridgechoir.co.uk');
  define('HTTPS_SERVER', '');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/zencart/');
  define('DIR_WS_HTTPS_CATALOG', '/zencart/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
  //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
  define('DIR_FS_CATALOG', '/home/cliffvt/tickets/zencart/');

  define('DIR_FS_DOWNLOAD', '/home/cliffvt/secure/downloads/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
  define('DB_TYPE', 'mysql');
  define('DB_PREFIX', 'zen_');
  define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'removed');
  define('DB_SERVER_PASSWORD', 'removed');
  define('DB_DATABASE', 'removed');
  define('USE_PCONNECT', 'false');
  define('STORE_SESSIONS', 'db');
  // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

  // The next 2 "defines" are for SQL cache support.
  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash
  define('SQL_CACHE_METHOD', 'database'); 
  define('DIR_FS_SQL_CACHE', '/home/cliffvt/tickets/zencart/cache');

// EOF

Any ideas anyone? We're losing buisiness at the moment so it's painful.

I spoke to my hosting company and they have tried everything as well to help me but still no result.

Here are my php settings:

Apache version    2.2.13 (Unix)
PHP version    5.2.9
MySQL version    5.0.81-community
Architecture    i686
Operating system    Linux
Shared Ip Address    removed
Path to sendmail    /usr/sbin/sendmail
Path to PERL    /usr/bin/perl
Kernel version    2.6.18-128.7.1.el
5PAE 

Kind regards

Cliff

15 Oct 2009, 11:13 AM
#16
cliffvt avatar

cliffvt

Zen Follower

Join Date:
Jul 2009
Posts:
100
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

Hi there - I am having the same problem and it is serious. Someone here at Zen with knowledge of coding has to fix this urgently - we are losing so much business through this - only just discovered it after our booking volumes started falling..

Please Zenners - can you work on this urgently??

Firefox works fine...

Thanks

Cliff

19 Oct 2009, 6:51 AM
#17
serge111 avatar

serge111

New Zenner

Join Date:
Apr 2007
Posts:
57
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

have u tried contacting paypal about this ...

19 Oct 2009, 6:53 AM
#18
serge111 avatar

serge111

New Zenner

Join Date:
Apr 2007
Posts:
57
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

also u mite wanna get urself a merchant account so that u dont have to depend on paypal for 100% of your payments, apart from that i am not really sure the issue seems complicated ...

19 Oct 2009, 6:58 AM
#19
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Paypal return - login expired - IE8

Have you tried to uninstall and then re-install the payment mods ( also do this to shipping mods ) through the ZC admin, this will set the new server configuration paths in the DB

21 Oct 2009, 7:28 PM
#20
joe_politzer avatar

joe_politzer

New Zenner

Join Date:
Mar 2009
Posts:
6
Plugin Contributions:
0

Re: Paypal return - login expired - IE8

Did you ever figure this out? I am plauged with the same problem now. The worst is everytime I do a test checkout/transaction it works fine, just not for any of the customers.