Paypal Checkout

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
4 days 19 hours ago #367941

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 5.3.2
-- PHP version -- : 8.2.4
-- Browser(s) name and version -- : Firefox 141.0

Hi,
I use PayPal checkout and had a problem with the Firefox browser, for example, where the payment methods and all subsequent dialogs were displayed in English even though German was set as the frontend language.

So I add in paypalcheckout_end.php &locale=de_DE to solve the problem.
<script src=" www.paypal.com/sdk/js ?<?php echo http_build_query($this->params); ?>&locale=de_DE" data-partner-attribution-id="<?php echo $this->bncode; ?>" <?php echo $this->extraParams; ?>></script>

It would be nice if this could be configured in a future version.

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

  • Posts: 84142
  • Thank you received: 13647
  • MODERATOR
4 days 5 hours ago #367946

Hi,

Thank you for your feedback.
Note that PayPal will automatically use the preferred language of the browser of the user.
So, it should not be necessary to force the language for the PayPal interface.

Also, next version of HikaShop will allow for overrides of payment plugin views. So you'll be able to do that change as an override so that you don't loose the change with future updates of HikaShop.

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

  • Posts: 7
  • Thank you received: 0
  • Hikashop Business
4 days 4 hours ago #367955

Hi,
The problem exists with Firefox, for example. The variable intl.accept_languages (viewable via about:config) contains the values de, en, en-US. If you enter de-DE here, it would work. Of course, that's not a solution, so I have to pass the parameter. I will use the override option in the future.

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

  • Posts: 84142
  • Thank you received: 13647
  • MODERATOR
3 days 15 hours ago #367964

Hi,

Thank you for your additional information. We'll look at what we can do then.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum