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

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

问题描述

我综合贝宝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 :/

我知道有一些黑客给力的语言,但他们仅适用于贝宝的按钮,没有API接口:/

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

推荐答案

你有没有试图改变您的浏览器的语言环境/语言和输入设置。语言环境将影响其语言等是presented贝宝的游客。

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:<一href=\"https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-pro/integration-guide/WPCustomizing/#id0864A0Q60Y4\" rel=\"nofollow\">https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-pro/integration-guide/WPCustomizing/#id0864A0Q60Y4

EC:<一href=\"https://developer.paypal.com/webapps/developer/docs/classic/ex$p$pss-checkout/integration-guide/ECButtonIntegration/#id089TGK09030\" rel=\"nofollow\">https://developer.paypal.com/webapps/developer/docs/classic/ex$p$pss-checkout/integration-guide/ECButtonIntegration/#id089TGK09030

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

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