- Posts: 31
- Thank you received: 0
Paypal payment notification email
14 years 2 months ago #57303
by shanwell
Paypal payment notification email was created by shanwell
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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
14 years 2 months ago #57364
by Mohamed Thelji
Replied by Mohamed Thelji on topic Re: Paypal payment notification email
Hello,
This mail is sent trough "paypal.php" with this code :
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.
This mail is sent trough "paypal.php" with this code :
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();
Hope this will help you.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #57415
by nicolas
Replied by nicolas on topic Re: Paypal payment notification email
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.
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.160 seconds