Jump to content

Email alerts to admin not sent


Recommended Posts

I have a problem with one payment module. When an order is confirmed, the customers are sent an confirmation email, but it does not send an email alert to admin with the new order notification.

I enabled the Cash on Delivery module, that module send the notification.

I checked both modules, and they contain:

 

public function hookPaymentReturn($param) {
	if (!$this -> active)
		return;
	return $this -> display(__FILE__, 'confirmation.tpl');
}

 

public function hookPaymentReturn($params)
{
 if (!$this->active)
  return ;
 return $this->display(__FILE__, 'confirmation.tpl');
}

 

Someone have any idea why one module sends notification to admin and the other not?

Link to comment
Share on other sites

alerts to the admin are sent from the mailalerts module, not the payment module.

 

ensure the mailalerts module is enabled, and configure it with the correct email.

 

Thanks! I had done that. But it was a problem with my file cache that broke it. http://www.prestashop.com/forums/topic/159079-solved-back-office-problem-modules-page-acting-strangely/page__p__772781?do=findComment&comment=772781

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...