Skip to main content

Paypal confirmation email language

More
9 years 9 months ago - 9 years 9 months ago #258193 by fabius
-- HikaShop version -- : last
-- Joomla version -- : 3.6.5

Hello,
I would like to know if it's possible to edit language in paypal email pament/order status changed.
I recieve first email in my language and paypal email in english.
How can i edit language in paypal email (it's the same layout of hikashop email so i think i can do it!)?
Thank you very much
Last edit: 9 years 9 months ago by fabius.

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

More
9 years 9 months ago #258212 by nicolas
Hi,

The language of the order status email sent to the customer is sent in the language of the customer.
The language of the payment notification email sent to the administrator is also sent in the language of the customer.
If you want to force the language of that last email, you would have to change the line:
Code:
$notify_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment='.$this->name.'&tmpl=component&lang='.$this->locale . $this->url_itemid;
to:
Code:
$notify_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment='.$this->name.'&tmpl=component&lang=xx' . $this->url_itemid;
where xx is the 2 letters code of the language you want in the file plugins/hikashoppayment/paypal/paypal.php

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

Time to create page: 0.141 seconds
Powered by Kunena Forum