Hosted payment, how to change language?

Samurayushka
Contributor
Contributor

Hello.

We use following form on our site:

 

<form action="https://securepayments.paypal.com/cgi-bin/acquiringweb" method="post">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="subtotal" value="1111">
<input type="hidden" name="tax" value="222" />
<input type="hidden" name="showCustomerName" value="false">
<input type="hidden" name="showBillingAddress" value="false">
<input type="hidden" name="currency_code" value="JPY">
<input type="hidden" name="business" value="info@samurai-boeki.co.jp">
<input type="hidden" name="invoice" value="159753">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="return" value="http://some.site/success/">
<input type="hidden" name="cancel_return" value="http://some.site/fail/">
<input type="hidden" name="notify_url" value="http://some.site/paypal_ipn/">
<input type="hidden" name="lc" value="RU">
<input type="submit" name="METHOD" value="Pay">
</form>

What we need to do to make PayPal payment page in russian?
<input type="hidden" name="lc" value="RU"> <--- didn't work 😞

Login to Me Too
2 REPLIES 2

snowshoe
Frequent Advisor
Frequent Advisor

Here's a few examples on how to force a language.

 

TIP: Force a language: 

 Mexico
 <input type="hidden" name="locale.x" value="es_XC">
 <input type="hidden" name="lc" value="MX">
 <input type="hidden" name="currency_code" value="MXN">
 <input type="hidden" name="country" value="MX">

 France
 <input type="hidden" name="locale.x" value="fr_XC">
 <input type="hidden" name="lc" value="FR">
 <input type="hidden" name="currency_code" value="EUR">
 <input type="hidden" name="country" value="FR"> 

You would need to use this guide to find the values for Russia:

https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pp_websitepaymentsstandard_integrat...

Login to Me Too

Qphoria
Contributor
Contributor

This is an invalid tip as forcing "country" to something means the shipping country will be set to that which could be wrong. 

It's simply a long standing bug where paypal uses the "country" value instead of the "lc" value as it should. Won't likely get fixed. locale.x does nothing.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.