lynne Posted January 13, 2012 Share Posted January 13, 2012 Hi everybody! I used prestashop as our website site system, nearly all of our customers will be English-speaking customers, but when our customer was forwarded to the paypal checkout page, the language was Chinese, I know you can change the setting by hand-operated button on the right of the webpage.But how to make the paypal checkout page to display in English automatically/default? Thank you very much for any help! Link to comment Share on other sites More sharing options...
El Patron Posted January 13, 2012 Share Posted January 13, 2012 Hi lynne, This is a good question. I looked at my paypal module and it does not look to support the LOCAALECODE. It does not seem to be a big issue to install the code to support he language that the user is using when they are sent to paypal and it's very possible you may be able to do it yourself. Also looks like some community members have developed a more robust paypal module that takes language into account. To change the language displayed on the PayPal pages, set the LOCALECODE parameter to one of the following allowable values in the SetExpressCheckout call: AU – Australia AT – Austria BE – Belgium CA – Canada CH – Switzerland CN – China DE – Germany ES – Spain GB – United Kingdom FR – France IT – Italy NL – Netherlands PL – Poland US – United States The following example sets LOCALCODE to ES (Spain). Request Parameters [requiredSecurityParameters] &METHOD=SetExpressCheckout &RETURNURL=https://... &CANCELURL=https://... &PAYMENTREQUEST_0_AMT=10.00 &PAYMENTREQUEST_0_CURRENCYCODE=EUR &PAYMENTREQUEST_0_PAYMENTACTION=Sale &LOCALECODE=ES this is from: https://cms.paypal.c...i_ECCustomizing I also suggest 'use full editor', to change your title to something like "PayPal in users language". This way more community members that have knowldege on this subject can help. Suerte! Link to comment Share on other sites More sharing options...
lynne Posted January 15, 2012 Author Share Posted January 15, 2012 problem solved, thank you so much Link to comment Share on other sites More sharing options...
El Patron Posted January 15, 2012 Share Posted January 15, 2012 great!...can you give a littlie advice of what you did or followed? also if you could change the title to [resolved] it will make it easier for the next member. cheers Link to comment Share on other sites More sharing options...
Gomlers Posted September 6, 2012 Share Posted September 6, 2012 Hi both of you! I have the same problem - I want my customers to see the paypal page in Norwegian, but now it's always in English. Anyone know how I can fix it? Which file should I look in? Link to comment Share on other sites More sharing options...
El Patron Posted September 6, 2012 Share Posted September 6, 2012 Hi both of you! I have the same problem - I want my customers to see the paypal page in Norwegian, but now it's always in English. Anyone know how I can fix it? Which file should I look in? did you try the solution I posted above? 1 Link to comment Share on other sites More sharing options...
Gomlers Posted September 6, 2012 Share Posted September 6, 2012 (edited) did you try the solution I posted above? I couldn't find the place to update the LOCALECODE parameter - so if you know which file to look in, please give me a clue Also - I don't quite understand what I should type in the file? I have found the public function setExpressCheckout() in paypal_express_checkout.php but it looks like this: public function setExpressCheckout() { $this->method = 'SetExpressCheckout'; $fields['CANCELURL'] = Tools::getValue('current_shop_url'); // Only this call need to get the value from the $_GET / $_POST array if (!$this->initParameters(true) || !$fields['CANCELURL']) { return false; } // Set payment detail (reference) $this->_setPaymentDetails($fields); $fields['SOLUTIONTYPE'] = 'Sole'; $fields['LANDINGPAGE'] = 'Login'; // Seller informations $fields['USER'] = Configuration::get('PAYPAL_API_USER'); $fields['PWD'] = Configuration::get('PAYPAL_API_PASSWORD'); $fields['SIGNATURE'] = Configuration::get('PAYPAL_API_SIGNATURE'); $this->callAPI($fields); $this->_storeToken(); } Edited September 6, 2012 by Gomlers (see edit history) 1 Link to comment Share on other sites More sharing options...
El Patron Posted September 7, 2012 Share Posted September 7, 2012 (edited) I'd pm lynee to get her fix. Edited September 7, 2012 by elpatron (see edit history) Link to comment Share on other sites More sharing options...
pol30 Posted February 6, 2013 Share Posted February 6, 2013 Hello, I have the same problem as Gomlers. I have PayPal 3.4.1 running on Prestashop 1.5.0.17. PayPal page is always in Spanish (I am from Spain) and I would like to see PayPal page in English when selecting English language in FrontOffice and PayPal page in Spanish when selecting Spanish language in the FrontOffice. I can not find LOCALE parameter in PayPal module and I do not know PHP, ¿could you help me please? Thanks very much 1 Link to comment Share on other sites More sharing options...
luis gustavo Posted March 6, 2013 Share Posted March 6, 2013 hello all i have same question than "el patron" I couldn't find the place to update the LOCALECODE parameter - so if you know which file to look in, please give me a clue Also - I don't quite understand what I should type in the file? I have found the public function setExpressCheckout() in paypal_express_checkout.php but it looks like this: i found the same file. i9s this to change???? or include this code? public function setExpressCheckout() in paypal_express_checkout.php <<<<<<CAN SOMEBODY TELL ME WHAT IS THE FILE I NEED TO CHANGE? (PAYPAL_EXPRESS_CHECKOUT.PHP)? OR CAN SOMEBODY TELL THE LOCATION OF THE FILE TO CHANGE? THANK YOU SO MUCH Link to comment Share on other sites More sharing options...
jc128 Posted May 28, 2013 Share Posted May 28, 2013 (edited) * Edited May 28, 2013 by jc128 (see edit history) Link to comment Share on other sites More sharing options...
ameisina Posted March 18, 2015 Share Posted March 18, 2015 Hi , I want to change the name on the top left corner. More details is : i have one paypal account but i have two online shop. I want two shop can collect payment with one paypal account but the problems how can i make them to show difference on the top left corner of the page when customer process the payment. i know i need to change the some paremeters on the route /modules/paypal/express_checkout/. but i dont know where to find and to change. i am looking for help. thank you. Link to comment Share on other sites More sharing options...
Recommended Posts