如何使用PayPal的“立即购买”按钮设置“描述”?

时间:2015-10-22 17:31:51

标签: ruby-on-rails paypal payment-gateway

enter image description here

我有这个图像,我可以设置金额,但我不能设置描述:

 <form action="https://www.paypal.com/cgi-bin/webscr" 
 method="post"   target="_top">
  <input type="hidden" name="cmd" value="_xclick">
  <input type="hidden" name="upload" value="1">
  <input type="hidden" name="business" value="moneytreelondon@gmail.com">
  <input type="hidden" name="lc" value="US">
  <input type="hidden" name="button_subtype" value="services">

  <input id="total_price_and_postage_rate" type="hidden"
  name="amount" value<%=r.total_price_and_postage_rate_no_commission%>">
 <input type="hidden" name="no_note" value="0">
 <input type="hidden" name="currency_code" value="USD">
 <input type="hidden" name="bn" 
   value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
  <input type="image" src="" border="0" name="submit" alt="Refund">
  <img alt="" [enter image description here][1]border="0" 
   src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif"    
   width="1"    height="1">
  </form>

如何设置'描述'?

1 个答案:

答案 0 :(得分:1)

您可以使用此表单标记设置说明

<input type="hidden" name="item_name" value="Your Desc">

省略item_nameamount代码可让您的客户在PayPal结帐页面中进行手动输入

enter image description here