Using the PayPal REST API endpoint for an Express Checkout, if PayPal doesn't recognize the customer by a cookie, the checkout page is displayed according to the region of the merchant account. How can this be changed?
PayPal REST API - Express Checkout - How to change default language?
884 Views Asked by Tobias Mühl At
3
There are 3 best solutions below
0
On
I would suggest adding an HTTP header Accept-Language with one of the following codes: Supported locale codes
0
On
Well, RTFM.
I ended up creating a new Web Experience Profile, which allows to set the locale code. The Web Experience Profile ID can be passed to the ExpressCheckout API call.
Note: When querying the endpoint that lists all Web Experience profiles, PayPal does not return temporary profiles. You need to write down the ID you get from the create response.
This example sets
LOCALCODEtoESfor Spain.Visit Paypal Developer to learn more.