Checkout page language issue
marcopassarelli
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-23-2024
03:25 AM
I am trying to integrate with the PayPal Rest API and I have a problem when trying to create the checkout urls. I have tried with various locales but it doesn't always work. Accepted values are "it-IT", "en-GB", "da-DK", "ja-JP", but for example I cannot use "ru-RU" and "el-GR". Could someone help me?
Here an example of the request to https://api-m.sandbox.paypal.com/v2/checkout/orders
{
"intent": "CAPTURE",
"purchase_units": [
{
"custom_id": "TRANSACTION_ID",
"amount": {
"currency_code": "EUR",
"value": "1.00"
}
}
],
"payment_source": {
"paypal": {
"experience_context": {
"shipping_preference": "NO_SHIPPING",
"payment_method_preference": "IMMEDIATE_PAYMENT_REQUIRED",
"brand_name": "MY_BRAND",
"locale": "el-GR",
"landing_page": "GUEST_CHECKOUT",
}
}
}
}
Labels:
- Labels:
-
PayPal Payment Products
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Being coerced into taking loan. No customer service responses? in Wallet
- Why is Automatic Payments or Recurring Payments so unsecure? in Security and Fraud
- Problem with repeated fake orders with the PayPal Woocommerce Plugin in Security and Fraud
- Non-PayPal transaction has just been acknowledged by PayPal in Transactions
- Pay in 4 issue - double authorisation upon exiting checkout before finished in Transactions