freelanceweb Posted April 23, 2008 Posted April 23, 2008 THe url in the order confirmation email is incorrect. Where is this generated? I have looked in the email.php file and verious other files but the actual url creation I cannot find. (it is giving the http:// address with https:// instead).
FIMBLE Posted April 23, 2008 Posted April 23, 2008 checkout_process.php around line 252 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . see if it is set to SSL true Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
freelanceweb Posted April 24, 2008 Author Posted April 24, 2008 Set to false: EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . I am going to try to set it to true... I don't mind it using a SSL url, I just use a shared SSL Cert and It has to come back proper. Thanks and I will advise...
freelanceweb Posted April 24, 2008 Author Posted April 24, 2008 Ok, the email I am looking at is actualy the Order Update email. The first email that goes out is good. It is when I set an order to delivered, and the UPDATE ORDER email goes out I get the incorrect URL. I guess that would come from orders.php? Not sure Line 109 says: $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.