Zen Cart Logo
Forums / PayPal Express Checkout support / Whoops! Your session has expired - Paypal Express

Whoops! Your session has expired - Paypal Express

Locked

Views: 11,226

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
1 Feb 2010, 7:14 PM
#1
3gcase avatar

3gcase

New Zenner

Join Date:
Feb 2010
Posts:
2
Plugin Contributions:
0

Whoops! Your session has expired - Paypal Express

I hope someone can help with this

Just started a new site (www.3Gcase.com) and all Paypal Express Customers are given "Whoops! Your session has expired." when returning to my site.

I've tested it, and if I complete paypal checkout fast enough (< 1 min) it works fine, but if it exceeds 1 minute, the session expires and the cart is empty.

Does anyone have any experience with this?

Please help :cry:

-Kyle

1.38a
Hostgator

9 Feb 2010, 1:51 PM
#2
soul39 avatar

soul39

Zen Follower

Join Date:
Jul 2008
Location:
london
Posts:
167
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

Hi,
did you resolved your problem? I had a "whoops session expired" problem on the 5th of Feb.
That turned out to be a suhosin problem with my hosting company. What was yours?

Soul39

12 Feb 2010, 7:57 AM
#3
3gcase avatar

3gcase

New Zenner

Join Date:
Feb 2010
Posts:
2
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

Nope, it happened twice again today and is costing me too much money so I disabled it.

If anyone has any suggestions I'd really appreciate it.

:lookaroun

19 Feb 2010, 9:25 AM
#4
tcho1120 avatar

tcho1120

New Zenner

Join Date:
Feb 2010
Posts:
6
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

I am experiencing the same problem and talked to my ISP and paypal. I sitll couldn't find the solution. Can anyone help? I checked the error log and it's like the session wasn't there becuase the customer didn't log in or something. However, why would the customer need an account for the site if he's using paypal express checkout.

Please help

19 Feb 2010, 9:53 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Whoops! Your session has expired - Paypal Express

3gcase:

I've tested it, and if I complete paypal checkout fast enough (< 1 min) it works fine, but if it exceeds 1 minute, the session expires
3gcase & others,
This is an issue with the php time set too low by the host - You need to request that they extend it

As referenced by 3gcase test, if done fast all is fine

19 Feb 2010, 7:33 PM
#6
tcho1120 avatar

tcho1120

New Zenner

Join Date:
Feb 2010
Posts:
6
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

Hi, Kobra
What php time set are you talking about? I want to find out what it is so I can call my hosting company and see what they can do about it.

Thanks

19 Feb 2010, 8:01 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Whoops! Your session has expired - Paypal Express

kobra seems to be talking about max_time_limit setting in php.ini.
But frankly, that's a red herring IMO. It's not a PHP timeout issue.
It looks like something's amuck in how data is being received back from PayPal.

I can't duplicate the problem at all, but that's what it sounds like to me.

20 Feb 2010, 7:43 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Whoops! Your session has expired - Paypal Express

ReCap:

DrByte:

It looks like something's amuck in how data is being received back from PayPal.
Could be but...I keyed on this where things are passed correctly
Only reported difference is time
3gcase:

I've tested it, and if I complete paypal checkout fast enough (< 1 min) it works fine, but if it exceeds 1 minute, the session expires and the cart is empty.

20 Feb 2010, 10:46 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Whoops! Your session has expired - Paypal Express

kobra:

Could be but...I keyed on this where things are passed correctly
Sorry, but I seem to have completely missed whatever wisdom you think you shared with me. What exactly did you "key on" that should illuminate the exact root cause of the problem?

20 Feb 2010, 10:56 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Whoops! Your session has expired - Paypal Express

I just was theorizing from your post that if things were "amuck" they would be for every instance.
The OP posted about a time sensitive issue

I've tested it, and if I complete paypal checkout fast enough (< 1 min) it works fine, but if it exceeds 1 minute, the session expires and the cart is empty.
So I take away from this that all is working fine UNLESS the time interval exceeds ??? value

20 Feb 2010, 10:59 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Whoops! Your session has expired - Paypal Express

kobra:

So I take away from this that all is working fine UNLESS the time interval exceeds ??? value
Perhaps. I've not been able to replicate the situation with any consistency, so can't confirm or deny your theory.
As they say in the laboratory ... more data required.

20 Feb 2010, 11:03 AM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Whoops! Your session has expired - Paypal Express

DrByte:

As they say in the laboratory ... more data required.
In out laboratory - - We just had another beer!!

21 Feb 2010, 7:06 AM
#13
tcho1120 avatar

tcho1120

New Zenner

Join Date:
Feb 2010
Posts:
6
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

hi, dr.byte
I narrowed down the problem a bit and it seems like the session will be gone after the first time you add a product to cart.

you will get the error message "whoops, your session has expired!" if you follow the steps below:

  1. add a product to cart and go to the checkout page
  2. click on "paypal checkout"
  3. log in to your paypal account
  4. click submit and it will show the error message when you get redirected to the site

However, you will be able to go to the step 2 of the payment process and successfully place an order using paypal. My hosting company is network solutions and I have spent numerous hours on the paypal checkout thing

I also found another problem with the ez-page:
you will also get "Page not found":

  1. add a product to cart and go to the checkout page
  2. click on the home link in the menu bar
  3. page not found will be shown with the zenid attached to the url. it works fine without the zenid though

Please help

Thanks

Tony

21 Feb 2010, 7:33 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Whoops! Your session has expired - Paypal Express

tcho1120:

My hosting company is network solutionsI'm sorry to hear that.
You won't be able to use SSL reliably there. At least, not with Zen Cart.

22 Feb 2010, 2:58 AM
#15
tcho1120 avatar

tcho1120

New Zenner

Join Date:
Feb 2010
Posts:
6
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

DrByte:

I'm sorry to hear that.
You won't be able to use SSL reliably there. At least, not with Zen Cart.

Hi dr byte

can you explain alittle bit more why its not reliable?
Thanks
Posted via Mobile Device

22 Feb 2010, 3:00 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Whoops! Your session has expired - Paypal Express

Do a forum search for "netsol", or their full name, to read about the problems.
Here's one to whet your appetite: http://www.zen-cart.com/forum/showthread.php?t=132218&highlight=netsol
Otherwise we're digressing this thread off topic.

22 Feb 2010, 6:23 PM
#17
tcho1120 avatar

tcho1120

New Zenner

Join Date:
Feb 2010
Posts:
6
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

Thanks DrByte
I did a search and it seems like people are only having problem if they used the NetSol shared SSL. I bought my own SSL Certificate so I don't have the problems discussed in the other threads though.

One question, how does the zenId gets created? I suspect everything is caused by the zenid or the base url. What if i force the base url always pointing to the https instead of http?

Thanks

22 Feb 2010, 8:39 PM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Whoops! Your session has expired - Paypal Express

What if i force the base url always pointing to the https instead of http?
Htere is no real need for this and all it does is S L O O O W shopping down because every page must not only be assembled but then encrypted at the server and un-encrypted by the requesters browser

23 Feb 2010, 7:08 AM
#19
tcho1120 avatar

tcho1120

New Zenner

Join Date:
Feb 2010
Posts:
6
Plugin Contributions:
0

Re: Whoops! Your session has expired - Paypal Express

the thing is that the error message "whoops, your session has expired" will only happen the first time. It won't happen again if you add the item to your cart and do the paypal express checkout again. Something strange is going on. Have you experienced it before?

my client site: http://www.xtendpackaging.com/shop

Thanks

Tony

20 Mar 2010, 11:11 AM
#20
simonbbc avatar

simonbbc

New Zenner

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

Re: Whoops! Your session has expired - Paypal Express

Ok here is plenty of detail for you, I hope....

You will get the error message "whoops, your session has expired!"

A If you use IE8 and if you follow the steps below:

  1. add a product to cart and go to the checkout page
  2. click on "paypal checkout"
  3. log in to a paypal account
  4. click submit and it will show the error message when you get redirected to the site

This will happen no matter how many times you try to complete checkout... follwoing the steps above..
It will work fine in FF or other browsers and seems to be when the site is viewed with a fairly high security, this is loosing us alot of business but in the meantime I would like to get a message on the timeout page that displays in IE so that we can notify the customer that they are not going mad but any changes I make to /includes/languages/english/ don't seems to show in IE this may be my fault or a cache issue but is this the right place for this change to start with

AND

Can you think of any reason why this could be an issue....
I'm guessing it is to do with the zenID not being sent back in some way from Paypal once it has finished doing it's job...

This seems to be a much talked about issue and upping or playing about with the security level to stop cross domain cookies etc seems to bring it about for me or even viewing the site in compatibility mode does too...

I hope you can shed a bit of light on this or even come up with a workable solution so that customers don't just get P'd off and go to another site to buy from them.....

I hope this helps

Simonbbc