Forums / General Questions / Not switching to the HTTPS url during Checkout

Not switching to the HTTPS url during Checkout

Views: 870

Results 1 to 7 of 7
10 Mar 2014, 9:39 PM
#1
karikari avatar

karikari

New Zenner

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

Not switching to the HTTPS url during Checkout

I read http://www.zen-cart.com/content.php?56

I have the same problem as

http://www.zen-cart.com/showthread.php?143707-Positive-SSL-problem-Not-switching-to-the-HTTPS-url-during-Checkout

I changed permission, and I confirmed changes from False to True to enable SSL are made on 2 configure.php files by checking them at cpanel-> file manager.

URLs are still not switching to the HTTPS url during Checkout.

i hope someone can help me solve my problem.. Thank you

10 Mar 2014, 9:57 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Not switching to the HTTPS url during Checkout

  1. the word 'true' needs to be lowercase.

  2. who is your hosting company?

  3. Please post the URL to your site so we can see it in action

.
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.

10 Mar 2014, 10:20 PM
#3
karikari avatar

karikari

New Zenner

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

Re: Not switching to the HTTPS url during Checkout

  1. typed in lower lowercase
  2. hostgator
  3. pinkcancerawareness.com/shop/

Thank you very much for your time

10 Mar 2014, 10:33 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Not switching to the HTTPS url during Checkout

I'm guessing you didn't make the configure.php file writable before making changes to it, so your changes didn't actually get saved to the server.
Or you were editing a different configure.php file for some reason.

.
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.

10 Mar 2014, 11:22 PM
#5
karikari avatar

karikari

New Zenner

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

Re: Not switching to the HTTPS url during Checkout

If coped from Cpanel File manager, files are updated on the server, right?

I copied the following from cpanel file manager:

shop/includes/configure.php

// 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://pinkcancerawareness.com');
define('HTTPS_SERVER', 'https://pinkcancerawareness.com');

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

shop/manage/includes/configure.php

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

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

did I type something wrong?

Thank you very much..

11 Mar 2014, 3:25 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Not switching to the HTTPS url during Checkout

Looks like you're using mismatched quote-marks. Some are ` and others are '

That's usually a result of using a file-editor that's not designed to work with web files, and it's translating those quotes into "fancy" quotes, which will NOT work in web programming files.

If you're on Windows, I recommend using Notepad++ or Sublime Text which are free. Sublime Text also works on Mac and Linux. (It's free, but may remind you occasionally that they'd like you to buy it. It will work fine even if you don't buy it.)

.
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.

11 Mar 2014, 5:51 AM
#7
karikari avatar

karikari

New Zenner

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

Re: Not switching to the HTTPS url during Checkout

Sensei sugooooi!!

now it works.

Thank you very much☆★☆