Closed (duplicate)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2009 at 01:06 UTC
Updated:
19 Sep 2012 at 13:17 UTC
The 'PayPal login page language' dropdown is incomplete.
It currently has the following code:
$form['uc_paypal_wps_language'] = array(
'#type' => 'select',
'#title' => t('PayPal login page language'),
'#options' => drupal_map_assoc(array('AU', 'DE', 'FR', 'IT', 'GB', 'ES', 'US')),
'#default_value' => variable_get('uc_paypal_wps_language', 'US'),
);
This list is incomplete; PayPal has translated pages for many European countries. The PayPal documentation says: "For allowable values, see Country Codes." (https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=develo...)
Comments
Comment #1
josi123 commentedChanging the Paypal login page language setting doesn't seem to work. Has everyone ever tested this?
Comment #2
tr commentedIf someone wants to roll a patch for this issue I'd be happy to review it.
Comment #3
chazz commentedAnyone found the solution for this? I am looking for PL landing page
Regards
Comment #4
longwaveAs PayPal now seems to support all country codes for this, perhaps we should just send billing country as "lc" and drop the setting?
Comment #5
xibun commentedplease take into account previous work: #488624: PayPal login page language per site language
Comment #6
Enrique.Ruiz commentedThis issue, if I understand well, is about adding more languages to the dropdown menu.
But it means that in a multi-language site, the buying user will always be sent to a PayPal page in a single language chosen by the site admin. So if I have a commerce website in 1.English and 2.Spanish, the user will initiate a transaction in Spanish, only to be sent to a PayPal page in English. Customers buying in English will of course have no problem.
Does anyone have a fix for it? Can we have uc_paypal sending the user to PayPal in his chosen language?
Comment #7
longwaveDiscovered in #1586424: PayPal login page language never changes and always "US", PayPal ignores the language parameter if you send a country as part of the address. As we always send a country code, we should ensure it has a sensible default (the store country, not US), and just drop this language setting entirely.