Servired payment spanish

  • Posts: 81
  • Thank you received: 13
  • Hikaserial Standard Hikashop Business
3 months 6 hours ago #358252

Hi,
the store configured only in Spanish, but Servired payment system sends the payment in English.

"DS_MERCHANT_CONSUMERLANGUAGE" => "2",

Hikashop does not have the edition of content in multiple languages ​​activated and the default language of the site is Spanish

I am solving the problem through editing;
plugins / hikashoppayment / servired / servired.php
"DS_MERCHANT_CONSUMERLANGUAGE" => (string)$language
change to
"DS_MERCHANT_CONSUMERLANGUAGE" => "1"

but this in future updates will generate the same situation again

What can I do to send payments in Spanish without having to configure servired.php

Thanks
Javier


Javier Ballester
Hikashop Joomla! Magazine in Spanish
Tu tienda Online Joomla! Hikashop
magazine.joomla.org/es/all-issues/februa...enda-online-joomla-3

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

  • Posts: 81428
  • Thank you received: 13058
  • MODERATOR
2 months 4 weeks ago #358261

Hi,

Could it be that the code 001 is not correct ?
In that same file, you have this line:
$language = '001';
It sets the code 001 for the Spanish language.
So normally, it should already be fine.
The code from another integration also uses a three characters number:
github.com/DevopensourceTeam/Devopensour...dsys/Helper/Data.php
Maybe it's the code:

		$lang = JFactory::getLanguage();
		$locale=strtoupper(substr($lang->get('tag'),0,2));
which doesn't provide the correct locale ?

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

Time to create page: 0.055 seconds
Powered by Kunena Forum