Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can checkout_shipping.php use www


Guest

Recommended Posts

Please help!

 

I had an existing domain and site which included a ssl certificate which included the 'www'. I have now installed OS Commerce, but once you add an item to the cart and press checkout the 'www' goes away. Is there a way to change the icon/links for checking out to include the www so that the checkout can use my installed ssl certificate. If it can be changed, which pages do they need to be changed?

 

Thanks

Link to comment
Share on other sites

Please help!

 

I had an existing domain and site which included a ssl certificate which included the 'www'. I have now installed OS Commerce, but once you add an item to the cart and press checkout the 'www' goes away. Is there a way to change the icon/links for checking out to include the www so that the checkout can use my installed ssl certificate. If it can be changed, which pages do they need to be changed?

 

Thanks

Add the www to the URL in the define for HTTPS_SERVER in your configure.php file.

 

Like:

 

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

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Unfortunately, I can add the https://www.awwmonline.com to the configure.php file definition, but it doesn't change the link - it still sees it as a certificate name mismatch.

 

Here's my store site: http://www.awwmonline.com/store'>http://www.awwmonline.com/store

 

If you go through the steps to add an item in your cart and choose checkout - the checkout goes back to http://awwmonline.com not http://www.awwmonline.com (with www).

 

Here are the contents of my configure.php file below.

<?php

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

define('HTTPS_CATALOG_SERVER', 'https://www.awwmonline.com/');

define('HTTPS_CATALOG_SERVER', 'https://www.awwmonline.com/');

define('ENABLE_SSL_CATALOG', true);

define('DIR_FS_DOCUMENT_ROOT', '/home/awwmonl1/public_html/store_duplicate/');

define('DIR_WS_ADMIN', '/store_duplicate/admin/');

define('DIR_FS_ADMIN', '/home/awwmonl1/public_html/store_duplicate/admin/');

define('DIR_WS_CATALOG', '/store_duplicate/');

define('DIR_FS_CATALOG', '/home/awwmonl1/public_html/store_duplicate/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'awwmonl1_osc2');

define('DB_SERVER_PASSWORD', 'qzM[uLCm7dkj');

define('DB_DATABASE', 'awwmonl1_osc2');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

If there is ANYTHING else you can help me with that would be great!

Link to comment
Share on other sites

I don't get any errors.

 

All your SSL links are good.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...