jhonyleroy Posted January 31, 2011 Share Posted January 31, 2011 Hi,I have checked all automated emails (from contact form, anytime a purchse status is updated, product running out of stok...) and all of them work with no issues at all.All except one! It used to work before, but not anymore. The one not working is the email the client gets as soon as he/she purchases something. Kind of confirmation/order email sent to the customer's email.Any clue what is it?Thanks in advance Link to comment Share on other sites More sharing options...
inveostore.com Posted January 31, 2011 Share Posted January 31, 2011 If you are using PS 1.3.6.0, re-download installation package and re-upload all files in class directory (early builds of 1.3.6.0 package contained an error with email notifications). Link to comment Share on other sites More sharing options...
jhonyleroy Posted January 31, 2011 Author Share Posted January 31, 2011 This is my version:Version 1.3.1.1 Link to comment Share on other sites More sharing options...
Tom_Rufener Posted February 1, 2011 Share Posted February 1, 2011 This post helped me a lot! I updated to 1.3.6 the day it came out and since then, only order confirmations were sent. Now, everything works properly, thanks to you guys! Link to comment Share on other sites More sharing options...
weit Posted April 12, 2011 Share Posted April 12, 2011 Try updating the attached file "OrderHistory.php", which is located in the classes. OrderHistory.php Link to comment Share on other sites More sharing options...
salko Posted April 29, 2011 Share Posted April 29, 2011 I'm having this issue in PS 1.4 also. When customer make a purchase, the status becomes 'preparation in progress', but the customer gets two emails, one which informs him that preparation is in progress and onother email which is order confirmation. But I dont want to send order confirmation automatically, I must chech the order and if everything is ok, then I change status to 'Order confirmed' and then the customer should get this order confirmation email ... So how can I fix this in PS 1.4? Thank you! Link to comment Share on other sites More sharing options...
Chaney Posted September 1, 2011 Share Posted September 1, 2011 My program does not send confirmation emails. For registering, it does send and for password recovery. In addition, when purchasing the customer is taken back to a screen "Guest Tracking" where they are asked to put in the order ID. Without a confirmation email there is no order id, the cart still shows the merchandise as if it wasn't purchased and NO CONFIRMATION EMAIL. I tried upgrading the order as stated above to no avail. Please help? Link to comment Share on other sites More sharing options...
Chaney Posted September 1, 2011 Share Posted September 1, 2011 No order history is shown either . . . Link to comment Share on other sites More sharing options...
Chaney Posted September 1, 2011 Share Posted September 1, 2011 Does anyone else have this problem?? Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted September 1, 2011 Share Posted September 1, 2011 Does anyone else have this problem?? Nope. Marty Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 1, 2011 Share Posted September 1, 2011 Hi everybody, I have created a report to send to our development team, and they will be looking into this for you. I will let you all know as soon as I hear back from them. -Mike Link to comment Share on other sites More sharing options...
Chaney Posted September 2, 2011 Share Posted September 2, 2011 Have a partial fix - uninstalled Mail Alert module and uploaded a new one (purchased one with extras) which installed fine and able to purchase through Paypal sandbox with customer cart returning empty and cart message ("successful payment, will ship as soon as possible . . . ") showed up. However, no email confirmation sent or received. That's the only part missing - so the new module only fixed part of the problem. Shop still down. Thanks Mike - hope the developers find the problem!! Chaney Link to comment Share on other sites More sharing options...
Kerm Posted September 2, 2011 Share Posted September 2, 2011 Try change hosting better Link to comment Share on other sites More sharing options...
Chaney Posted September 4, 2011 Share Posted September 4, 2011 My hosting support found this error in the php log thought it would help the developers tell us how to fix this? Still no emails to customers or to the owner when an order is made. Test email is ok. Upgraded to the final 1.4 version last week to try and fix this to no avail. The following error message was found in modules/paypal: [03-Sep-2011 16:44:35] PHP Fatal error: Cannot use object of type Product as array in /home/chaney92/public_html/Store/modules/mailalerts/mailalerts.php on line 219 Here is the function, with marked line, where that error is occuring: public function hookUpdateQuantity($params) { global $cookie; $qty = intval($params['product']['quantity_attribute'] ? $params['product']['quantity_attribute'] : $params['product']['stock_quantity']); // This line is 219. if ($qty <= intval(Configuration::get('mA_last_qties')) AND !(!$this->_merchant_oos OR empty($this->_merchant_mails)) AND Configuration::get('PS_STOCK_MANAGEMENT')) { $templateVars = array( '{qty}' => $qty - $params['product']['cart_quantity'], '{last_qty}' => intval(Configuration::get('mA_last_qties')), '{product}' => strval($params['product']['name'])); $iso = Language::getIsoById(intval($cookie->id_lang)); if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/productoutofstock.txt') AND file_exists(dirname(__FILE__).'/mails/'.$iso.'/productoutofstock.html')) Mail::Send(intval(Configuration::get('PS_LANG_DEFAULT')), 'productoutofstock', $this->l('Product out of stock'), $templateVars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), NULL, strval(Configuration::get('PS_SHOP_EMAIL')), strval(Configuration::get('PS_SHOP_NAME')), NULL, NULL, dirname(__FILE__).'/mails/'); } if ($this->_customer_qty AND $params['product']->quantity > 0) $this->sendCustomerAlert(intval($params['product']->id), 0); } Link to comment Share on other sites More sharing options...
Fabien Serny Posted September 10, 2011 Share Posted September 10, 2011 Hi all, What is your vesion of PrestaShop and what payment module are you using ? (Payment module could be the problem) Best regards, Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 21, 2011 Share Posted September 21, 2011 Hi everybody, We have fixed this bug. You can find the updated files and code snippets to replace on our Bug Tracker here: http://forge.prestashop.com/browse/PSCFI-3286 If you have any additional questions about this, please post them there. -Mike Link to comment Share on other sites More sharing options...
Recommended Posts