Paypal confirmation email language

  • Posts: 9
  • Thank you received: 0
7 years 11 months ago #258193

-- 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: 7 years 11 months ago by fabius.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 11 months ago #258212

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:

$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:
$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.037 seconds
Powered by Kunena Forum