Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2.2
-
Fix Version/s: 3.3.alpha
-
Component/s: Core CiviCRM
-
Labels:None
Description
On a multilingual site using CiviCRM and PayPal Standard, users are referred to PayPal Checkout Pages without being able to control which language is presented to them.
The provided patch fixes this problem by extending CRM-3130 for the following fields propagated from CiviCRM forms to PayPal Standard:
lc: by default set according to the current language, can be overwritten by preferred_language
charset: set to mb_internal_encoding() / UTF-8 respectively to avoid encoding problems with special characters on the Pay Pal page
country: agnostic about which address is used (Primary, Billing, etc)
preferred_language : overwrites "lc" if set
please note that on PayPal Checkout Pages country has priority over lc if both are set.
For more information about HTML Variables for Prepopulating PayPal Checkout Pages see:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables#id08A6HI0J0VU
Tested on CiviCRM 3.2.0, 3.2.2