Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL instructions


jen_jl

Recommended Posts

What I have done:

 

- upgraded my hosting account to SSL and had them change the SSL server to point to public_html files

- purchased certificate (installed by my hosting co.)

- modified the following two files with the info below.

catalog/includes/configure.php and

admin/includes/configure.php

 

define('HTTP_SERVER', 'http://www.yourdomain.com');

define('HTTPS_SERVER', 'https://www.yourdomain.com');

define('ENABLE_SSL', 'true');

 

 

Problem:

 

When I go to http://www.mystore.com/catalog/checkout_payment.php, it's not secure. Ok fine, then I change the URL to https instead of just http, I get the same page, but it's secure.

 

What am I missing here? Why isn't the checkout process getting directed to the correct secure site/page?

 

I have searched the WIKI and the forums and can't seem to find anything else to help me out, other than what I have already done.

 

THANKS!!

Link to comment
Share on other sites

Is it a ssl certificate that you bought or a shared ssl from your hosting provider?

Because non of the ssl pages are https !

 

The_Bear

Link to comment
Share on other sites

nice site! take a look at www.interbikes.com/deafult.php

 

Press refresh aswell, there is a problem with it loading first time. I dont know why tho :'(

Link to comment
Share on other sites

I purchased a secure server certificate from my hosting company who uses Comodo. Below is the description of the what I purchased.

 

pairSSL Pro

128-bit SSL Encryption

Use with Single Domain Name

TrustLogo Seal - Included Free

 

 

Thanks!

Link to comment
Share on other sites

Because non of the ssl pages are https !

 

The_Bear

 

That's what I can't figure out. How are they supposed to get re-directed to the https pages? What pages should be secure anyway?

 

I have done everything that I said in the original post of this thread, but don't know what I need to do next or what is supposed to happen next.

 

Thanks!

Link to comment
Share on other sites

If you did put your ssl url here

define('HTTPS_SERVER', 'https://www.yourdomain.com');

Then talk to your Hosting provider cause it is not install properly

 

The_Bear

Link to comment
Share on other sites

No dice, they said that everything is setup correctly on the server. public_ssl directory has been redirected to public_html directory on the server.

 

She did point out that when we view http://www.tracksideracerssupply.com/catal...out_payment.php the page the enter the credit card number, when you hover the mouse over the top menu bar containing the links for Top, Catalog, Checkout and Payment Method, they don't point to https:// rather they point to just http://

 

Therefore, her conclusion was that the script is not setup properly. Again when viewing the above page I manually change it to https:// from http:// it brings up the page correctly with SSL.

 

here is the code from catalog/includes/config.php

 

  define('HTTP_SERVER', 'http://www.tracksideracerssupply.com'); 

 define('HTTPS_SERVER', 'https://www.tracksideracerssupply.com'); 

 define('ENABLE_SSL', 'true');

 

and then the code from admin/includes/config.php

 

  define('HTTP_SERVER', 'http://www.tracksideracerssupply.com'); 

 define('HTTPS_SERVER', 'https://www.tracksideracerssupply.com'); 

 define('ENABLE_SSL', 'true');

 

What else do I need to do????

 

Thanks!

Link to comment
Share on other sites

the firt page that should be ssl so: on default.php when you put your mouse over the create an account link it should point to the https url and it is not !

What version of osc did you installed ?

Link to comment
Share on other sites

Try doing this:

 

On the catalog/includes/configure.php

 

Edit it so it says:

 

 

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

 

No single quotes around true. I have it that way and it works. Funny enough, on the admin side the quotes are there.

 

Hope this helps.

 

Nugar

Link to comment
Share on other sites

I downloaded catalog/includes/configure.php from my server

 

The line said:

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

 

Therefore, I changed it to the following and reuploaded.

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

 

 

Then just to check it, I downloaded the file to my desktop to check the file, sure enough it says FALSE instead of true

 

What is going on??

Link to comment
Share on other sites

The problem is fixed!!!

 

The file permissions on the configure.php weren't correct or weren't being correctly recognized by the server. My hosting co. fixed the problem and now were good!!!

 

 

Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...