Forums / Built-in Shipping and Payment Modules / Whoops! Your session has expired.

Whoops! Your session has expired.

Views: 2,157

Results 1 to 6 of 6
13 Feb 2014, 3:27 PM
#1
palladium avatar

palladium

New Zenner

Join Date:
Feb 2014
Posts:
1
Plugin Contributions:
0

Whoops! Your session has expired.

I keep getting this error message after credit cards are processed using authorize.net(SIM). (AIM is not an option for my cart)

Zen Cart 1.5.1 (new install)
PHP Version: 5.4.16
MySQL 5.6.10

When checking out, customers are redirected to my payment services provider (eProcessingNetwork) to enter their card information. Once information is entered and submitted, the chard is charged and the customer sees an unformated version of my cart page with the error 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."

The URL still shows the eProssessingNetwork address.

I have read many posts about this error but most only see it occasionally. This happens with every credit card transaction and none of the solutions have helped.

24 Oct 2014, 9:55 PM
#2
aperfecthost avatar

aperfecthost

New Zenner

Join Date:
May 2005
Location:
Rockwood, Tennessee, United States
Posts:
97
Plugin Contributions:
0

Re: Whoops! Your session has expired.

How did you resolve this? I am getting same error every time I use authorize.net SIM

25 Oct 2014, 3:25 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Your session has expired.

If you're using an outdated template, that would cause the problem.
If you're using addons for an older version of ZC, that could cause it.

  1. You didn't say what version of ZC you're using,
  2. You didn't list your addons.
  3. Can you also tell us whether you're using Authnet SIM as-is, or whether you've modified it to work with another gateway somehow.
    Related FAQs: http://www.zen-cart.com/content.php?303-how-to-set-up-the-authorizenet-sim-payment-module and http://www.zen-cart.com/content.php?302-authorizenet-sim-an-error-occurred-while-trying-to-report-this-transaction-to-the-merchant-an-e-mail-has-been-sent-to-the-merchant-informing-them-of-the-error-the-following-is-the-result-of-the-attempt-to-charge-your-credit-card

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 Oct 2014, 3:37 AM
#4
aperfecthost avatar

aperfecthost

New Zenner

Join Date:
May 2005
Location:
Rockwood, Tennessee, United States
Posts:
97
Plugin Contributions:
0

Re: Whoops! Your session has expired.

Here is the info:

  1. You didn't say what version of ZC you're using,
    I am using 1.5.3

  2. You didn't mention your PHP version,
    5.4.31

  3. You didn't list your addons.
    New install. NO addons

  4. Can you also tell us whether you're using Authnet SIM as-is
    absolutely no changes to the Authorize.net SIM that came included with ZenCart

6 Nov 2014, 6:07 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Your session has expired.

Unfortunately I can't replicate the problem using a clean install of ZC v1.5.3 and PHP 5.4 or 5.5.
Usually that means it's something odd with the host.

But if it's possibly related to settings, these FAQ articles may offer some ideas for you:
http://www.zen-cart.com/content.php?302-authorizenet-sim-an-error-occurred
http://www.zen-cart.com/content.php?303-how-to-set-up-the-authorizenet-sim-payment-module

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Jan 2015, 6:24 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Your session has expired.

Is this still happening? Are you hosted with Dreamhost?

Check this PHP configuration setting:

  1. Admin->Tools->Server Info ... Press CTRL+F to "search the page" and search for session.hash_bits_per_character
  2. If session.hash_bits_per_character is set to 6, then you'll need to apply this fix: http://www.zen-cart.com/showthread.php?215694&p=1270902#post1270902

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.