REST Api integration - how to force payment page's language?

纵饮孤独 提交于 2019-12-24 08:22:41

问题


I integrated PayPal API and have the problem that Payment page are always displayed in Polish (which is my native language), but not English. I'd like to force payment pages to display always in English because my whole site is in English. How can I do that? There is no setting in my merchant's account for that :/

I know that there are some hacks to force language, but they works only for PayPal's buttons, not API interfaces :/


回答1:


Have you tried changing the locale/language and input settings on your browser. The locale affects which language etc is presented to visitors of PayPal.

However if you want to force the locale, there are a couple of ways to do so (depending on the product you are using):

WP: https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-pro/integration-guide/WPCustomizing/#id0864A0Q60Y4

EC: https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECButtonIntegration/#id089TGK09030



来源:https://stackoverflow.com/questions/18323898/rest-api-integration-how-to-force-payment-pages-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!