If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / SSL issue when Allow Checkout is set to False for out-of-stock products

SSL issue when Allow Checkout is set to False for out-of-stock products

Locked

Started by orange_juice on 11 Apr 2010, 1:15 AM · Views: 2,205

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
11 Apr 2010, 1:15 AM
#1
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

SSL issue when Allow Checkout is set to False for out-of-stock products

Hallo,

I have set Allow Checkout to false in order to disable checking out if an item is not available.

When such an issue arises, the customer is redirected to the shopping cart with the relevant notification on top BUT with SSL enabled in his shopping cart page.

The next step is to update his cart and receive an SSL warning:

"Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party."

Steps to reproduce:

  1. Put in the basket a quantity larger than the available.
  2. You are redirected to the shopping cart with the notification that the products are out of stock and you should revise.
  3. Hit the checkout button

Now, you are at the same page with SSL enabled. If you update the contents you will receive the SSL error.

This situation can happen mostly when a customer logs in and had previously saved items in his cart that do not exist any more. Or even when another customer has bought first the last item of a product in the cart.

How can this error be avoided?

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

11 Apr 2010, 1:19 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

Link to your site please?

also take a look at https://www.zen-cart.com/tutorials/index.php?article=150

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

11 Apr 2010, 8:54 AM
#3
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

Thank you for your prompt answer!

frank18:

Link to your site please?

http://www.dodeca.eu

You will have to enter the following when prompted twice. Once for the http area and once for the https:

username: welcome
password: test

I have also created a test account if you do not want to go through the login procedure:

email: [email protected]
password: testing

frank18:

also take a look at https://www.zen-cart.com/tutorials/index.php?article=150

I am aware of this article. However, I do not seem to have modified the shopping cart page, other than through the admin panel or through the css files.

I will check again however.

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

11 Apr 2010, 2:31 PM
#4
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

orange_juice:

I will check again however.

Actually, the problem seems to be the fact that the update button sends the data over an unsecure connection. (The link is http).

This is perfectly normal.

The abnormality is that suddenly the shopping cart page has become encrypted. (When hitting the "checkout button" while the unavailability of stock notification is on)

I tried to disable the FEC and the issue remains. I even set my theme to classic but no change.

**When zen-cart redirects to the shopping cart (due to some error), this is done over SSL. **

How can I disable it? (If this does not impair any other process of course)

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

11 Apr 2010, 3:25 PM
#5
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

The problem is being caused by something you have added or done to the original Zen Cart. When I try to proceed (the first time) I get this warning message: "Sorry, but you are not allowed to perform the action requested." and I am directed to a page called /timout (I have never seen either error before).

On a second attempt I can proceed to checkout.

You need to work out what it is that you have done which is causing this non-standard behaviour.

Vger

11 Apr 2010, 4:16 PM
#6
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

OK... this is the first time I see this error ...!

:shocking:

I should have messed my cart up ... I will reinstall everything and come back if necessary.

Thanx.

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

12 Apr 2010, 1:19 AM
#7
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

orange_juice:

Thank you for your prompt answer!

http://www.dodeca.eu

You will have to enter the following when prompted twice. Once for the http area and once for the https:

username: welcome
password: test

> 
> I have also created a test account if you do not want to go through the login procedure:
> 
> ```
email: [email protected]
password: testing

I am aware of this article. However, I do not seem to have modified the shopping cart page, other than through the admin panel or through the css files.

I will check again however.

Kind regards,
orange_juice

Everything back to normal again. Except for the SSL issue.

Thank you for your help and interest, there are sometimes that such behaviours inspire indeed.

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

10 Jun 2010, 9:43 AM
#8
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: SSL issue when Allow Checkout is set to False for out-of-stock products

Hallo!

I would like to report that this issue is fixed in zen-cart-1.3.9

Thank you!

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming