Download & Extend

'PayPal login page language' is incomplete

Project:Ubercart
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

The 'PayPal login page language' dropdown is incomplete.
It currently has the following code:

<?php
      $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

#1

Changing the Paypal login page language setting doesn't seem to work. Has everyone ever tested this?

#2

If someone wants to roll a patch for this issue I'd be happy to review it.

#3

Anyone found the solution for this? I am looking for PL landing page

Regards

#4

Title:'PayPal login page langage' is incomplete» 'PayPal login page language' is incomplete
Version:6.x-2.0» 6.x-2.x-dev

As PayPal now seems to support all country codes for this, perhaps we should just send billing country as "lc" and drop the setting?

#5

please take into account previous work: #488624: PayPal login page language per site language