Jump to content

[SOLVED] Confirmation email not sent to customer when purchase is done


Recommended Posts

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

  • 2 months later...
  • 3 weeks later...

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

  • 4 months later...

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

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

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

  • 2 weeks later...
×
×
  • Create New...