locale language changing with smart payements button in REST API

Chrigu1414
Contributor
Contributor

Hello,

 

First, I thank you in advance for your future response and the time you will take for me.

 

I use the REST API with the smart payments button for my website. The country of sale is Switzerland. In Switzerland, there are different languages: German, French, Italian and English. I sell in the French part. I would like the "standard card fields" to be displayed in French.

 

So I confirmed the javascript to force the language in French: https://www.paypal.com/sdk/js?client-id=CLIENTID&currency=CHF&locale=fr_CH

 

When standard card fields loads, it is displayed first in French and then automatically changes to German. I do not understand why ?

 

I am currently using the Sandbox environment.

 

Thank you for your help.

 

Login to Me Too
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.