Paypal payment notification email

  • Posts: 31
  • Thank you received: 0
12 years 4 months ago #57303

Hi

where can I edit the Paypal payment notification email from Hikashop?

The one that says "Hello, A Paypal notification was received with the status ........."

I can't find it anywhere under System - Emails.

Cheers,

Shanwell

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
12 years 4 months ago #57364

Hello,

This mail is sent trough "paypal.php" with this code :

$order->mail_status=$statuses[$order->order_status];
	 	$mailer->setSubject(JText::sprintf('PAYMENT_NOTIFICATION_FOR_ORDER','Paypal',$vars['payment_status'],$dbOrder->order_number));
		$body = str_replace('<br/>',"\r\n",JText::sprintf('PAYMENT_NOTIFICATION_STATUS','Paypal',$vars['payment_status'])).' '.JText::sprintf('ORDER_STATUS_CHANGED',$order->mail_status)."\r\n\r\n".$order_text;
		$mailer->setBody($body);
		$mailer->Send();
So you'll just have for example to change the translation word "PAYMENT_NOTIFICATION_FOR_ORDER" and "ORDER_STATUS_CHANGED".

Hope this will help you.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 4 months ago #57415

If you just want to change the text, it's better to use a translation override:
www.hikashop.com/en/download/languages.html#modify
That way, you'll be able to update without loosing your changes.

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum