- Posts: 40
- Thank you received: 2
Howto set specific paypal locale / language?
- thesilentman
-
Topic Author
- Offline
Less
More
11 years 11 months ago - 11 years 11 months ago #177626
by thesilentman
Howto set specific paypal locale / language? was created by thesilentman
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.36
-- PHP version -- : 5.5.18
-- Browser(s) name and version -- : any
Hello,
I need the paypal payment page to be only german, regardless which country the user comes from or whatever browser setting he/she has.
I have tried the following, without success.
1. Setting the paypal url to: www.paypal.de/cgi-bin/webscr
Result: The redirect would not end in a payment form, but just in a merchant login form.
2. Setting the paypal url to: www.paypal.com/de/cgi-bin/webscr
Result: PayPal still displays in English, if a shipping country other than Germany (and Austria) is chosen
3. Inserting a hidden field in the checkout form:
<input type='hidden' name="lc" value="de_DE" />
and even
<input type='hidden' name="lc" value="de" />
or
<input type='hidden' name="lc" value="DE" />
Result: PayPal still displays in English, if a shipping country other than Germany (and Austria) is chosen
4. Also inserted an array key 'lc' => 'de' into the paypal vars array in paypal.php (plugins/hikashoppayment/paypal/) around line 59
Result: PayPal still displays in English, if a shipping country other than Germany (and Austria) is chosen
Any ideas on how to get this solved?
Thanks
-- Joomla version -- : 3.36
-- PHP version -- : 5.5.18
-- Browser(s) name and version -- : any
Hello,
I need the paypal payment page to be only german, regardless which country the user comes from or whatever browser setting he/she has.
I have tried the following, without success.
1. Setting the paypal url to: www.paypal.de/cgi-bin/webscr
Result: The redirect would not end in a payment form, but just in a merchant login form.
2. Setting the paypal url to: www.paypal.com/de/cgi-bin/webscr
Result: PayPal still displays in English, if a shipping country other than Germany (and Austria) is chosen
3. Inserting a hidden field in the checkout form:
<input type='hidden' name="lc" value="de_DE" />
and even
<input type='hidden' name="lc" value="de" />
or
<input type='hidden' name="lc" value="DE" />
Result: PayPal still displays in English, if a shipping country other than Germany (and Austria) is chosen
4. Also inserted an array key 'lc' => 'de' into the paypal vars array in paypal.php (plugins/hikashoppayment/paypal/) around line 59
Result: PayPal still displays in English, if a shipping country other than Germany (and Austria) is chosen
Any ideas on how to get this solved?
Thanks
Last edit: 11 years 11 months ago by thesilentman.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #177716
by nicolas
Replied by nicolas on topic Howto set specific paypal locale / language?
Hi,
The fourth method should definitely help.
Also, you might want to check the language setting of the seller section of your PayPal account.
the lc parameter is the only one PayPal offers for HikaShop to send the language. Then, it's up to it to display the interface in the language it wants.
The fourth method should definitely help.
Also, you might want to check the language setting of the seller section of your PayPal account.
the lc parameter is the only one PayPal offers for HikaShop to send the language. Then, it's up to it to display the interface in the language it wants.
The following user(s) said Thank You: thesilentman
Please Log in or Create an account to join the conversation.
- thesilentman
-
Topic Author
- Offline
Less
More
- Posts: 40
- Thank you received: 2
11 years 11 months ago #177775
by thesilentman
Replied by thesilentman on topic Howto set specific paypal locale / language?
Thanks I'll take a look at the paypal account again. It's not mine, so I'll know in a few days.
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds