Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

secure payment help needed asap


hel8itch

Recommended Posts

ok have a prob something i must of overlooked..

i have no ssl connection?got email from customer asking why there is no secure payments etc...can someone please tell me how on earth i sort this out...asap...probably something obvious but i cant see it

Link to comment
Share on other sites

its all handled in configure.php.

 

if u have an ssl certificate, the HTTPS_SERVER should be the same as the HTTP_SERVER but with https rather than http.

 

if you're on a shared cert. then it will be something like https://myhost.net.www.mysite.com........

U'l need to find out from your host!

 

set define('ENABLE_SSL', false); to true!

 

Think that's it!

 

define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'localhost');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 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/');

Link to comment
Share on other sites

do you know if you have an ssl cert?...erm..no ..

 

this is the configure.php from includes

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 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', 'https://4star-phones.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://4star-phones.co.uk'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', '4star-phones.co.uk');

define('HTTPS_COOKIE_DOMAIN', '4star-phones.co.uk');

define('HTTP_COOKIE_PATH', '/order/');

define('HTTPS_COOKIE_PATH', '/order/');

define('DIR_WS_HTTP_CATALOG', '/order/');

define('DIR_WS_HTTPS_CATALOG', '/order/');

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

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

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/');

Link to comment
Share on other sites

  • 4 months later...

ok done everything in the 2 configure.php files

but when i go into my control panel i get this

You are not protected by a secure SSL connection

 

shouldnt that say i am protected?or does it only do that when someone orders

Link to comment
Share on other sites

ok..aswell as my previous question i just attempted to login to my store and got a pop up stating the certificate was possibly unauthorised,which may be due to someone pretending to be<my cert host>

or due to a mistake in the set up

please can someone help me

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...