Zen Cart Logo
Forums / General Questions / now my checkout isn't working after installing SSL today

now my checkout isn't working after installing SSL today

Locked

Views: 2,119

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
23 Apr 2010, 11:12 PM
#1
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

now my checkout isn't working after installing SSL today

Hi,
Is there anybody who can look at my site and tell me why all of a sudden it won't go past the shipping (step 1 of 3) during the checkout process? I just had my host install our SSL certificate this afternoon and now its not working, is that coincidence or could it be something to do with the install?

Click here for my site.

Thanks in advance to all who try to help!
Lisa

Every bit of help I get here, gets me that much closer to helping others

23 Apr 2010, 11:29 PM
#2
frank18 avatar

frank18

Deceased

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

Re: now my checkout isn't working after installing SSL today

Have you made any changes other than the ones recommended in Dr Bytes tutorial (also accessible from this thread: http://www.zen-cart.com/forum/showthread.php?t=147054) ?

When trying to login or checkout your pages are displaying NONSSL. Guess your configure.php files have not been amended as recommended

Frank

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

23 Apr 2010, 11:30 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: now my checkout isn't working after installing SSL today

Your SSL appears to be working OK. But if you want advice related to your checkout process, I'd recommend that you create a test account and share the details here. You can always delete it again later.

Most people willing to help won't want to go through your account creation process, and you probably wouldn't want them cluttering up your customer data anyway

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

23 Apr 2010, 11:39 PM
#4
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

kuroi:

Your SSL appears to be working OK. But if you want advice related to your checkout process, I'd recommend that you create a test account and share the details here. You can always delete it again later.

Most people willing to help won't want to go through your account creation process, and you probably wouldn't want them cluttering up your customer data anyway

Ok, great idea!

Login: [email protected]
P/W: test123

Every bit of help I get here, gets me that much closer to helping others

23 Apr 2010, 11:46 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: now my checkout isn't working after installing SSL today

Do you have any shipping methods enabled, and if so which ones and have you set any geographic / zone restrictions?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

23 Apr 2010, 11:55 PM
#6
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

kuroi:

Do you have any shipping methods enabled, and if so which ones and have you set any geographic / zone restrictions?

I have per unit/ weight enabled. Everything was working fine before my host installed the SSL earlier today... is it because I haven't gotten a merchant account yet and only have Paypal enabled? A customer should still be able to go past the shipping stage of the order, correct?

Every bit of help I get here, gets me that much closer to helping others

23 Apr 2010, 11:59 PM
#7
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

well I just enabled offline credit cards to see if that makes a difference and it doesn't. So I'm lost.

Every bit of help I get here, gets me that much closer to helping others

24 Apr 2010, 12:03 AM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: now my checkout isn't working after installing SSL today

No this won't be related to your merchant account 9or absence therefore) or Paypal. You are right that they don't kick in until the next page (though Paypal Express appears on the Shopping Cart page, but that's still not here).

Your shipping method appears in the shipping estimator on the shopping cart page, which would usually mean that it's installed correctly (just to check, does it have a green icon alongside it in the Admin), but it doesn't appear on your checkout_shipping page.

That's very odd and unfortunately also very difficult to diagnose from the customer side of your site. I suspect that you may need to wait and hope that somebody happens along who has experienced the same problem before and gotten to the bottom of the problem, or seek help from somebody who can set some diagnostic traps in your code.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

24 Apr 2010, 12:05 AM
#9
frank18 avatar

frank18

Deceased

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

Re: now my checkout isn't working after installing SSL today

cdnbride:

....A customer should still be able to go past the shipping stage of the order, correct?

That's correct. If your checkout process was working fine before installing SSL and if the only changes you made are the required changes in your includes/configure.php and admin/includes/configure.php files then I can't see a reason why it should not work.

Please post the first few lines of your includes/configure.php and admin/includes/configure.php files. Those lines should look something like this:

define('HTTP_SERVER', 'http://yoursite.com');
define('HTTPS_SERVER', 'https://yoursite.com');
define('HTTP_CATALOG_SERVER', 'http://yoursite.com');
define('HTTPS_CATALOG_SERVER', 'https://yoursite.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

Frank

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

24 Apr 2010, 12:10 AM
#10
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

frank18:

That's correct. If your checkout process was working fine before installing SSL and if the only changes you made are the required changes in your includes/configure.php and admin/includes/configure.php files then I can't see a reason why it should not work.

Please post the first few lines of your includes/configure.php and admin/includes/configure.php files. Those lines should look something like this:

Frank

Uh oh was I suppose to change a file or two? I just let my host install the SSL, I thought that was it. Okay, I'll be right back, I need to find the files and then give the tutorial a read. Give me 5 mins. :shocking:

Every bit of help I get here, gets me that much closer to helping others

24 Apr 2010, 12:26 AM
#11
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

Okay so it doesn't look like I'm supposed to change anything does it? This is the admin/includes/configure

// Define the webserver and path parameters
// Main webserver: eg-http://www.your_domain.com -
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
/*

  • URLs for your site will be built via:
  • HTTP_SERVER plus DIR_WS_ADMIN or
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
    
  • HTTP_SERVER plus DIR_WS_CATALOG or 
    
  • HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    
  • ...depending on your system configuration settings
  • If you desire your entire admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://canadianbridalsuperstore.ca');
    define('HTTPS_SERVER', 'https://canadianbridalsuperstore.ca');
    define('HTTP_CATALOG_SERVER', 'http://canadianbridalsuperstore.ca');
    define('HTTPS_CATALOG_SERVER', 'https://canadianbridalsuperstore.ca');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');

and this is the includes/configure

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://canadianbridalsuperstore.ca');
define('HTTPS_SERVER', 'https://canadianbridalsuperstore.ca');

// 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', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

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/');

The only thing that I see that may need to be changed is the Enable_SSL from false to true???

Every bit of help I get here, gets me that much closer to helping others

24 Apr 2010, 12:37 AM
#12
frank18 avatar

frank18

Deceased

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

Re: now my checkout isn't working after installing SSL today

Based on your information your checkout is not running in secure mode.

Here is the recipe :smile:

  1. BACKUP, BACKUP, BACKUP ...

  2. in your admin/includes/configure.php file change this

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');

to this

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

  1. in your includes/configure.php file change this

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

to this

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

  1. in Admin > Configuration set Down for Maintenance to true, exclude your IP-Address

  2. now on the server set the permissions of both files from 444 to 644. If you don't change the permissions you won't be able to upload the 2 files to your server.

  3. upload the changed 2 files to their respective locations. **Caution: don't mix them up, they are different!
    **

  4. set the permissions back to 444

  5. set Down for Maintenance to false

Do a test run on your checkout process

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

24 Apr 2010, 12:43 AM
#13
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

Okay, let me give it a go....

Every bit of help I get here, gets me that much closer to helping others

24 Apr 2010, 12:52 AM
#14
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

Hi, I did every thing and double checked it all to make sure it was right. I tried the check out and I still can't get past the step 1. This is so weird.

Every bit of help I get here, gets me that much closer to helping others

24 Apr 2010, 12:57 AM
#15
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

Is there a way that I can temporarily make the checkout Paypal Only? at least until this gets figured out? I really don't want new customers to have problems at check out, if you know what I mean...

Every bit of help I get here, gets me that much closer to helping others

24 Apr 2010, 1:53 AM
#16
frank18 avatar

frank18

Deceased

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

Re: now my checkout isn't working after installing SSL today

cdnbride:

Is there a way that I can temporarily make the checkout Paypal Only? at least until this gets figured out? I really don't want new customers to have problems at check out, if you know what I mean...

You seem to have 2 different issues of which you have fixed one, namely the SSL issue. Appears to be working fine without errors.

Are you sure no other changes have been made since your last successful order?

You may want to do a search in the forum and look for a recommended debug tool. Install that and then check if there are any clues in the log files created.

Frank

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

24 Apr 2010, 2:00 AM
#17
frank18 avatar

frank18

Deceased

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

Re: now my checkout isn't working after installing SSL today

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

24 Apr 2010, 10:17 PM
#18
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

Thanks frank18, the SSL is fixed now that I made those changes and yes you are right I had two issues but didn't realize that they were separate issues. It appears that I have a shipping module problem that wasn't there previously. I went into my "dummy" store and tried the checkout there and it works fine. I'm using perweight/unit shipping and when it comes to step one of the checkout the shipping doesn't show up, now in the "dummy" store it does. My question is would it be in the code then? Can I just copy code from my "dummy" store over to my "real" store to fix it and if so, what file would it be?

Every bit of help I get here, gets me that much closer to helping others

25 Apr 2010, 4:24 AM
#19
frank18 avatar

frank18

Deceased

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

Re: now my checkout isn't working after installing SSL today

cdnbride:

......My question is would it be in the code then? Can I just copy code from my "dummy" store over to my "real" store to fix it and if so, what file would it be?

In principle that should fix it. However, I am not familiar with that mod. Ajeh would be the expert with shipping modules.

Look at includes/modules/shipping/perweightunit.php and the corresponding language file.

Do a full backup first including your DB and then upload the mod to the live server.

Please post your result when done.

Thanks / Frank

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

25 Apr 2010, 8:03 PM
#20
cdnbride avatar

cdnbride

Zen Follower

Join Date:
Sep 2009
Location:
Toronto, Canada
Posts:
149
Plugin Contributions:
0

Re: now my checkout isn't working after installing SSL today

Thanks Frank, I will post results when this gets figured out.
Thanks for your time, I really appreciate it.
Lisa

Every bit of help I get here, gets me that much closer to helping others