REST Api 集成 - 如何强制支付页面的语言? [英] REST Api integration - how to force payment page's language?

查看:22
本文介绍了REST Api 集成 - 如何强制支付页面的语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我集成了 PayPal API,但遇到的问题是付款页面总是以波兰语(这是我的母语)显示,而不是英语.我想强制付款页面始终以英文显示,因为我的整个网站都是英文的.我怎样才能做到这一点?我的商家帐户中没有设置:/

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 :/

我知道有一些技巧可以强制使用语言,但它们仅适用于 PayPal 的按钮,而不适用于 API 接口:/

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

推荐答案

您是否尝试过更改浏览器上的区域设置/语言和输入设置.区域设置会影响向 PayPal 访问者显示的语言等.

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

这篇关于REST Api 集成 - 如何强制支付页面的语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆