Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL instructions


jen_jl

Recommended Posts

Posted

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

Posted

Do you have an URL so we can check ?

 

The_Bear

Posted

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

Posted

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 :'(

Posted

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!

Posted
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!

Posted

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

Posted

How can I test or what should I look for to make sure that my hosting company has installed it properly or has made the fix?

 

Thanks!

Posted

The only things you had to do was in your 2 configure.php files and they were done right

Posted

Thanks! I am calling my hosting co. right now. I will post what the fix was when I get there!

 

Thanks

Posted

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!

Posted

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 ?

Posted

Still haven't figured this one out. Does anyone have any ideas?

 

Thanks!

Posted

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

Posted

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

Posted

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!

Archived

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

×
×
  • Create New...