贝宝快速结帐:2种语言 [英] paypal express checkout: 2 language
问题描述
我有2种语言的网站.我想允许人们即使没有Paypal帐户也可以使用自己的语言使用Paypal进行付款.我用
I have a 2 language website. I want to allow people to pay with paypal in their own language even without having a Paypal account. I use
-
SOLUTIONTYPE = 'Sole';
-
LANDINGPAGE = 'Billing';
SOLUTIONTYPE = 'Sole';
LANDINGPAGE = 'Billing';
完成此操作.但是,在显示贝宝(Paypal)上的表格时,它始终是意大利语的,因为目的地国家是意大利.
to accomplish this. However when the form on Paypal is shown it is in Italian all the time because the country of destination is Italy.
在英语网站上,我尝试使用LOCALECODE到GB来将网站设置为英语,但表格仍为意大利语.基本上,LOCALECODE不执行任何操作.我只能通过不设置以下内容来使表格为英文:
I tried using LOCALECODE to GB to make the website be in english when on the english website but the form is still in Italian. Basically LOCALECODE does nothing. I can make the form be in English only by not setting:
'SHIPTOCOUNTRYCODE' => 'IT',
'SHIPTOCOUNTRYNAME' => 'Italy',
但这不是可以的,因为我需要这个国家成为意大利.
But that is not ok because I need the country to be Italy.
我从此页面中获取了信息.
LOCALECODE为什么不起作用?
I took the info from this page.
Any reason why LOCALECODE is not working?
注意:我使用curl从Paypal获取令牌,而不是从页面中嵌入表单.
Note: I use curl to get the token from Paypal, not a form embedded in the page.
推荐答案
您是否尝试过使用PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE并将版本设置为63.0或更高版本?
Have you tried using PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE and setting the version to 63.0 or up ?
这篇关于贝宝快速结帐:2种语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!