Yes, it seems to be an issue on the PayPal side.
Contact them: www.paypal.com/mts
Yes, it seems to be an issue on the PayPal side.
Contact them: www.paypal.com/mts
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Just to update you all with my issue - I've had no luck whatsoever!!
I've been chatting with the people at www.paypal.com/mts who have been fantastic. Really quick replies and, after not getting anywhere with their suggestions, they even advised me to do something which would "definitely fix it, but not a textbook method".
Even that didn't work.
First of all they said that if you can see the LOCALECODE changing and the site still doesn't show up in the right language then something is fishy. I reassured them I could change this code and they came back to me asking me to go into my PHP admin on my sever and alter the database entry which tells Zen Cart where to send PayPal customers. I was asked to alter it from "www.paypal.com/cgi-bin/webscr", to "www.paypal.com/us/cgi-bin/webscr" - something the guy said he wasn't sure "how much mileage" I'd get out of it, but as a quick fix it would work.
This sounded great and I was thrilled, until I checked the database only to find it was ALREADY set to the us version!!!! Altered it to the UK one to test. No dice.
Perhaps its something to do with my cookies (although I've been clearing them after every attempt to resolve this) or perhaps it's because when I registered with PayPal I did so on the Japanese site, who knows.
I've seen something called "payflow" which seems like it can be set to UK or US versions. Would PayFlow help me out here? Any other suggestions from anyone out there?!
Thanks in advance,
Tony![]()
Payflow is a credit card gateway, and is a completely different product than Express Checkout.
Best to continue working with PayPal to figure out why their system is picking a different language than what it's being told to use.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
FYI
To avoid anyone else wasting time on this.
I noticed that the language of the Paypal payment page was inconsistent…and after a bit of reading and a lot of testing I find the following to be true.
There is a parameter LOCALECODE which you can send to Paypal to (in theory) determine the page language but they very helpfully ignore it completely if there is a SHIPTOCOUNTRYCODE parameter (the country of the billing address).
They use the SHIPTOCOUNTRYCODE as though its a language code.
Paypal seem to think that everyone in the same country speaks the same language just like in the USA(!)
I tried to comment out various instances of SHIPTOCOUNTRYCODE in paypalwpp.php to generate an empty or no SHIPTOCOUNTRYCODE but I think this is a required parameter by Paypal so it would always cause an error.
So unless someone can tell me how to omit this parameter without causing an error, it seems you have to live with this idiocy.
Depending on the SHIPTOCOUNTRYCODE of the order, Paypal may (ie sometimes there is no choice) offer a language selector drop-down with some language options related to the country selected, but not all language options are offered!
Rubbish.
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...
Just to clarifywhat you can expect dealing with Paypal with a multi-lingual shop, here are the results of my testing.
I surmise that:
1) First Paypal take the shipping country (SHIPTOCOUNTRY) as the primary reference. For each country they may or may not have multiple (preferred) languages associated with it. Hence sometime there's a language selection drop-down and sometimes not.
2) IF your language (LOCALECODE) is in their list for that country, you get what you asked for.
If not, you get whatever Paypal has decided to offer for that country, with maybe a drop down, or not, who knows.
In short, una caca.
Note that I have found no written evidence to support my crackpot theory. All Paypal's documentation states that LOCALECODE sets the language, which is evidently not true.
Further reading for insomniacs:
https://cms.paypal.com/uk/cgi-bin/?c...xpressCheckout
https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
My tests:
Shop Language LOCALECODE Shipping Country SHIPTOCOUNTRY Paypal Language Language DropDown Comments Spanish es_ES Indonesia ID Bahasa Bahasa, English strtoupper disabled Spanish ES Indonesia ID Bahasa Bahasa, English English en_US Indonesia ID English Bahasa, English English GB Indonesia ID English Bahasa, English English GB Spain ES Spanish None English US Spain ES Spanish None English en_US Spain ES English None English EN_US Spain ES English None strtoupper enabled Spanish ES_ES Spain ES Spanish None English EN_US Portugal PT English English, Español, Francais, Portugùes, Chinese Spanish ES Portugal PT English English, Español, Francais, Portugùes, Chinese Spanish ES_ES Portugal PT Spanish English, Español, Francais, Portugùes, Chinese English en_US Germany DE English None Spanish ES_ES Germany DE German None
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...