Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS, USPS and shared SSL certificates


nfway

Recommended Posts

I have tried everything to get UPS/USPS modules to work. I have taken all the required steps (eg. contacting USPS for transfer to prod. server, received an access key for UPS, etc., etc.), and NOTHING gets these things to work.

 

Is it possible that the problem is that I am using a shared SSL certificate??? My provider allows me to use their certificate, but the URL to the certificate is in the format https://123.4.5.6/~mydomain.com. The added slash seems to be causing a lot of confusion with the directories (still thinks there is no "download" directory even though there is), and I was thinking that it might be causing the same problem when receiving info back from the shippers.

 

I have modified the config files to try and correct the problems, but I still cannot get any of the shipper modules to work.

 

ANY help would be greatly appreciated! My next step is to plunk down the cash and buy my own SSL certificate in hopes that this might solve the problem.

 

Thanks in advance for any help anyone can give me on this.

Link to comment
Share on other sites

This is what I have right now... keep in mind that I've tried pretty much every combination....

 

 

define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://169.145.6.11/~mydomain.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', '169.145.6.11');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/var/www/html/catalog/');

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

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...