paypal 快速结账:2 种语言 [英] paypal express checkout: 2 language

查看:26
本文介绍了paypal 快速结账:2 种语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 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

  1. SOLUTIONTYPE = 'Sole';
  2. 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 ?

这篇关于paypal 快速结账:2 种语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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