View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006000 | module PayPal | module PayPal - sub | public | 2014-12-15 16:38 | 2015-01-16 08:08 |
Reporter | martinwegele | Assigned To | |||
Priority | low | Severity | text | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | ||
Product Version | 3.2.1 | ||||
Target Version | 3.2.2 | ||||
Summary | 0006000: incorrect localecode | ||||
Description | According to PayPal's documentation they are using 2-character codes for countries: https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/ So the locale codes in the language files are not correct: https://github.com/OXID-eSales/paypal/blob/v3.2.1/source/modules/oe/oepaypal/translations/de/oepaypal_lang.php#L27 https://github.com/OXID-eSales/paypal/blob/v3.2.1/source/modules/oe/oepaypal/translations/en/oepaypal_lang.php#L27 | ||||
Additional Information | The locale is used in every call to the PayPal API: https://github.com/OXID-eSales/paypal/blob/v3.2.1/source/modules/oe/oepaypal/models/paypalrequest/oepaypalsetexpresscheckoutrequestbuilder.php#L405 | ||||
Tags | PayPal | ||||
related to | 0006017 | resolved | jurate.baseviciene | Shipping-country decides which language is displayed in Paypal-Login-Page |
|
Paypal updated the documentation for LOCALECODE: "(Optional) Locale of the pages displayed by PayPal during Express Checkout. It is either a two-letter country code or five-character locale code supported by PayPal." So the local codes in the language files should work. But there's still a problem with the language. -> 0006017 |
|
Indeed the localecodes were updated: https://developer.paypal.com/webapps/developer/docs/classic/api/locale_codes/ So this issue can be closed. |