Checkout page language issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @marcopassarelli
Thank you for posting to the PayPal community.
I have successfully tested the request you provided in our local environment, and it is working properly on our end.
I would like to suggest that you try again and double-check that you are using the correct credentials when making the create order API call.
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US .Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @marcopassarelli
To address the error you encountered, which is caused by missing information in the request.
I would like to provide you with guidance on how to customize the locale of the buyer's checkout experience by passing a locale code to PayPal.
To determine the locale for the checkout page, PayPal takes into account the following factors:
- The shipping address country provided by the merchant in the request.
- The country obtained from the locale code parameter passed by the merchant.
- The country of the currently logged-in user.
- The merchant's country.
In cases where this information is not available, PayPal uses the default locale codes.
For more detailed information, please refer to the provided guide at the following link - https://developer.paypal.com/reference/locale-codes/
Please follow the instructions above and attempt the process again.
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US .Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Payments Refunded Automatically After Successful Transactions - PayPal Business Account Issue in REST APIs
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- Error payment in PayPal Payments Standard
- Why does PayPal redirect to different pages (login vs credit card form) depending on browser mode? in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- PayPal Express Error #10413 when people use a discount code on my Magento2 store in PayPal Payments Standard