Guest Posted March 2, 2006 Posted March 2, 2006 Hi I have bit of a problem. Can anyone advise where the order update emails source the URL that is sent for the customer to view their invoice online with. My problem is that the email only contains the the secure pre fix of the URL Im using. It doesn't include the vital "mydomain" part of the link, everthing else is fine. I assumed it would be in the configure.php file but the define('HTTPS_SERVER', 'https contains the correct full path. Cannot find anything as specific as this on this forum. Greatful if anyone can help. Thanks Ronan
maniac101 Posted March 2, 2006 Posted March 2, 2006 Have a look in \catalog\checkout_process.php look for // lets start with the email confirmation and look under this This should be place that sets the content of the order email using standard tep_href_link function call Regards Mark Brindle
Guest Posted March 2, 2006 Posted March 2, 2006 Have a look in \catalog\checkout_process.phplook for // lets start with the email confirmation and look under this This should be place that sets the content of the order email using standard tep_href_link function call Ok Im looking at this right now. Perhpas I should explain a little more to clarify the issue. I suspect the problem is possibly because I have SSL'd the whole admin section using a shared SSL hence the secure prefix showing up in the email link to invoice. This is why I suspected the config file. Looking at the checkout success file it doesn't quote or define the prefix of the URL used to supply a link for the customer to view their invoice with here, it must get this info from somewhere else but every file in which the secure prefix is defined my domain name follows it. This is the link Im sent in an email "Detailed Invoice: https://web18.secure-secure.co.uk/store/acc....php?order_id=1 Date Ordered: Tuesday 28 February, 2006" All fine up to .co.uk/.........my domain should be here/store/........... Any more suggestions please Thanks Ronan
Guest Posted March 2, 2006 Posted March 2, 2006 PROBLEM SOLVED Just in case anyone by some fluke has the same problem as this or can relate to it here's is my fundamental error explained (breifly) I had secured the whole of my admin section by simply editing the following in catalog/admin/includes/configure.php define('HTTP_SERVER', 'https://web18.secure-secure.co.uk/madinahmedia.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'https://web18.secure-secure.co.uk/madinahmedia.com'); define('HTTPS_CATALOG_SERVER', 'https://web18.secure-secure.co.uk/madinahmedia.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module Notice the addition of a secure URL. I rather foolishly left off the "madinahmedia" part of the define('HTTPS_CATALOG_SERVER', code. I have now stuck on the full URL and problem solved. Thanks anyway Ronan :blush:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.