希伯来语PayPal按钮中的文本不正确

时间:2013-02-20 08:34:51

标签: html html5 paypal

我有PayPal按钮问题 当我按下按钮时,它会将我带到付款页面 但产品名称 没有希伯来语 你可以看到图片

enter image description here

我还添加了页面的代码

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>bookstore</title>
</head>

<body>
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" accept-charset="utf-8">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="myemail@gmail.com">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="ספר בישול">
<input type="hidden" name="item_number" value="K8003">
<input type="hidden" name="amount" value="2.99">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="tax_rate" value="17.000">
<input type="hidden" name="shipping" value="1.00">
<input type="hidden" name="add" value="1">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

</body>
</html>

感谢所有可以提供帮助的人

2 个答案:

答案 0 :(得分:9)

你可以改变这一行:

<input type="hidden" name="lc" value="US">

为:

<input type="hidden" name="lc" value="he_IL">

为了解决您的问题,您可以添加以下行:

<input type="hidden" name="charset" value="utf-8">

但是来自IPN的回帖希伯来语文本存在问题。

答案 1 :(得分:5)

在我看来,这更像是PayPal问题,而不是HTML / HTML5问题。

我有一个快速的Google并找到了this fix

  
      
  1. http://www.paypal.com/登录您的PayPal帐户,然后转到“我的帐户概述 - &gt;个人资料 - &gt;我的销售工具”部分。
  2.   
  3. 在“更多销售工具”中,点击“PayPal按钮语言编码”链接。
  4.   
  5. 确保“您网站的语言”设置正确无误。
  6.   
  7. 点击“更多选项”按钮,为“编码”选择“UTF-8”选项,并选择“是”选项为“是否要使用”   从PayPal发送给您的数据的相同编码(例如,IPN,   可下载的日志,电子邮件)?“。
  8.   
  9. 点击“保存”以保存更改。
  10.   
相关问题