Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL odd redirection on create account and checkout


nelsonho

Recommended Posts

Newby question/problem. I have set up osCommerce store through lunarpages.com host at http://keikomatsui.com/oscommerce, and the store was working fine in an unsecure environment. Then purchased an individual SSL cert through host (who also installed) to protect customer credit card info. Changed my /oscommerce/includes/configure.php file so that https server pointed to https://keikomatsui.com and enabled SSL server to be true. I also made an equivalent change to /oscommerce/admin/includes/configure.php

 

Partially works, in that the account creation and checkout info appears to redirect through the https server, but on attemped checkout, I get directed back to my top level home page through the secure server (https://keikomatsui.com), rather than the checkout_process page. Same thing when I try to create a new customer account; after customer info is entered, when continue button is clicked, I end up going to the top level through secure server instead of back to oscommerce welcome page (the customer account is created though, and going to my account seems to work).

 

Suspect that I haven't enabled or changed a necessary line. Thank you for any suggestions on how to correct!

 

Here is my current configure.php file

 

<?php

/*

$Id: configure.php,v 1.12 2002/06/16 22:11:53 harley_vb Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

define('HTTPS_SERVER', 'https://www.keikomatsui.com

');

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

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

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

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

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxx');

define('DB_SERVER_PASSWORD', 'xxxxx');

define('DB_DATABASE', 'xxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...