pearl_1234 Posted December 7, 2015 Share Posted December 7, 2015 Hi to all,h I am using prestashop 1.6.0.14 and while payment through paypal pro we are getting error 500 i have comment the code for sending email from paymentModule.php class and its work finde. if (Validate::isEmail($this->context->customer->email)) Mail::Send( (int)$order->id_lang, 'order_conf', Mail::l('Order confirmation', (int)$order->id_lang), $data, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, $file_attachement, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); and Mail::Send( (int)$order->id_lang, 'voucher', sprintf(Mail::l('New voucher for your order %s', (int)$order->id_lang), $order->reference), $params, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, null, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); also test email is also not working without giving any error keep scrolling the wheel.I have enable the error reporting on to get the error but not showing any error. thanks Link to comment Share on other sites More sharing options...
Recommended Posts