nicolas wrote: Hi,
If you can confirm that it all works fine, it will be included. Otherwise, we'll have to investigate further and include a better patch
Hi Nicolas,
I tested on testsite and live site. But is does not work. Admin receive the mail (that's good but was also without the change) but client does not get a mail.
public function onAfterOrderConfirm(&$order, &$methods, $method_id) {
parent::onAfterOrderConfirm($order, $methods, $method_id);
if($order->order_status != $this->payment_params->order_status)
$this->modifyOrder($order->order_id, $this->payment_params->order_status, (bool)@$this->payment_params->status_notif_email, false);
$this->removeCart = true;
$this->information = $this->payment->payment_params->information;
if(preg_match('#^[a-z0-9_]*$#i', $this->information)) {
$this->information = JText::_($this->information);
}