Jump to content

Paypal (standard And Ipn) Language


Mec4D

Recommended Posts

HI, my customers have problem with the language that show some way as default in DUTCH on the first paypal page, I contacted Paypal services they recommended :

1.) Language for Paypal Standard:

===================================

you can set the language with the 'lc' variable in your button/ Paypal

code which is send to Paypal.

Please make sure, you are not using an encrypted code.

The following languages will be supported:

France(FR),

Spain (ES),

Italy (IT),

Germany (DE),

China (CN),

English (US).

Codeline for french (just add this line to your button form):

<input type="hidden" name="lc" value="FR">

In order to set the language to English, you need to set the 'lc' variable

to value="US".

Please insert the following line into your PayPal code:

<input type="hidden" name="lc" value="US">

Documentation:

=================

Currently the most updated list of "lc" variables is located on page 122 of the Website Payments Standard Integration Guide. The newer languages supported unfortunately haven't been incorporated into the guide yet.

However all "lc" variables are the same as the country code they where originally made from. For example "FR" for French was based off the country code "FR" for France and so on (values are capitalized). A list of country codes is available starting on page 125 of the same guide listed above. Below is a list of countries the "lc" variable is available for.

Australia

Austria

Belgium

Canada

China

France

Germany

Italy

Netherlands

Poland

Spain

Switzerland

United Kingdom

United States

however after I added the line in any possible way it don't works correct.

Is there a good way to fix the language so the international customer know what to do next ?

I would like to fix it so the standard show as English as the store run by default.

Thank you for your quick response

Cath

Link to comment
Share on other sites

Hi.

Go to your website first and then to View at the top and see what is your Encoding. Paypal uses UTF-8.

I had the same problem 1 week ago. "Language not supported blah blah blah". Under View I used Auto Select on my website and my encoding is Western European (ISO).

I hope it helps. :)

Link to comment
Share on other sites

Hi.

Go to your website first and then to View at the top and see what is your Encoding. Paypal uses UTF-8.

I had the same problem 1 week ago. "Language not supported blah blah blah". Under View I used Auto Select on my website and my encoding is Western European (ISO).

I hope it helps. :)

I see this line

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"

is that what you mean ?

b/c I see nothing else

I did not had any problems like that with the older versions of CC

you think changing the charset=iso-8859-1 will help?

I am going to try it out :D

Thank you

Cath

Link to comment
Share on other sites

  • 3 weeks later...
Guest mediaman

Hi Mec4D

(Or any other user who may have the solution for below).

you can set the language with the 'lc' variable in your button/ Paypal

code which is send to Paypal.

Please make sure, you are not using an encrypted cod

In order to set the language to English, you need to set the 'lc' variable

to value="US".

Please insert the following line into your PayPal code:

<input type="hidden" name="lc" value="US">

I am having the same problem.When i click on the make payment and the cart goes to paypal i am getting spanish first page of paypal.

I have used the code as recomended by paypal ok on other cart scripts but i cannot locate the file i need to alter in cubecart.

Did you solve your problem.

Please can anyone shed some light on the matter.

Regards

Mediaman

Link to comment
Share on other sites

Hi,

I did well changed the chart set to UTF-8 also by pay-pal

in your pay-pal account under profile option there are Languages setting for the custom order pages

you should change it to UTF-8

now I can see the pages in English as well when I made a test order but 60% of my customers still see it in Dutch as well.. I don't now now if that is the cache or not..

changing the codes in the cube-cart script create error so I give up for now..

hopping for some light from here ...

Cath

Hi Mec4D

(Or any other user who may have the solution for below).

you can set the language with the 'lc' variable in your button/ Paypal

code which is send to Paypal.

Please make sure, you are not using an encrypted cod

In order to set the language to English, you need to set the 'lc' variable

to value="US".

Please insert the following line into your PayPal code:

<input type="hidden" name="lc" value="US">

I am having the same problem.When i click on the make payment and the cart goes to paypal i am getting spanish first page of paypal.

I have used the code as recomended by paypal ok on other cart scripts but i cannot locate the file i need to alter in cubecart.

Did you solve your problem.

Please can anyone shed some light on the matter.

Regards

Mediaman

Link to comment
Share on other sites

P.S I did checked out again it return back to Dutch..

page XSL: Merchant/default/

there is missing value for the language in the CC cart script

that why it change to the default merchant language, however I do not use Dutch not in my store or pay-pal but b/c my account is a dutch it show up in the language..

I did try to change and add the <input type="hidden" name="lc" value="US">

in the cart but it give me error no mater what I do so I give up..

I did not have this problem with the older versions of CC.. i use V3 now...

HELP!!! :wub:

Cath

Link to comment
Share on other sites

Guest mediaman

Hi Mec4D,

I myself have the same problem,

As yet i do not have the solution but still searching.Been a newbie and not a coder or able to code makes it hard for me.

What i have found so far,i am pretty sure the file to alter is the modules/gateway/paypal/ transfer.inc.php

and somewhere around function fixedVars()

Again though having tried to place the code i like yourself get an error,so unless someone can with coding experience can hopefully help i will continue to search for an answer.

Sorry its not a post with a fix but if i find anything i will post here.

Regards

Mediaman

Link to comment
Share on other sites

I think I know where is the problem,

after the pay-pal changed the codes last month no shipping information are forwarded to pay-pal that why pay-pal overwrite the country by default ...

The Cube-cart Pay-Pal gateway script need to be changed and adding only the language will not do it right because

not shipping information are forwarded anyway so this not fix this issue..

I believe there are a new Pay-Pal gateways made by other members and I am going to try it out and let you know if this help..

Cath

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...