View Issue Details

IDProjectCategoryView StatusLast Update
0006000module PayPalmodule PayPal - subpublic2015-01-16 08:08
Reportermartinwegele Assigned To 
PrioritylowSeveritytextReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version3.2.1 
Target Version3.2.2 
Summary0006000: incorrect localecode
DescriptionAccording 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 InformationThe 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
TagsPayPal

Relationships

related to 0006017 resolvedjurate.baseviciene Shipping-country decides which language is displayed in Paypal-Login-Page 

Activities

JaroslavHerber

2015-01-15 11:11

reporter   ~0010611

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

martinwegele

2015-01-15 11:32

reporter   ~0010614

Last edited: 2015-01-15 11:38

Indeed the localecodes were updated: https://developer.paypal.com/webapps/developer/docs/classic/api/locale_codes/
So this issue can be closed.