Php 带空字段的Paypal购买详细信息页面
我有一个标准的贝宝按钮,如下所示:Php 带空字段的Paypal购买详细信息页面,php,html,paypal,Php,Html,Paypal,我有一个标准的贝宝按钮,如下所示: 单击它会将我重定向到PayPal页面,但说明和价格字段为空。只有数量设置为1且为只读。这个按钮有问题吗 提前感谢您的帮助。我必须将cmd值更改为“\u cart”,并添加隐藏的输入“upload”,值为1 现在它工作得很好 <!-- Identify your business so that you can collect the payments. --> <input type="hidden" name="bus
单击它会将我重定向到PayPal页面,但说明和价格字段为空。只有数量设置为1且为只读。这个按钮有问题吗
提前感谢您的帮助。我必须将cmd值更改为“\u cart”,并添加隐藏的输入“upload”,值为1 现在它工作得很好
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="info@mywebsite.com">
<!-- Specify a Buy Now button. -->
<input type="hidden" name="cmd" value="_xclick">
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name_1" value="My item Name 1">
<input type="hidden" name="amount_1" value="1000">
<input type="hidden" name="quantity_1" value="1">
<input type="hidden" name="item_name_2" value="My item Name 2">
<input type="hidden" name="amount_2" value="20">
<input type="hidden" name="quantity_2" value="1">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="notify_url" value="http://www.mywebsite.com/ipn-settings">
<input type="hidden" name="return" value="http://www.mywebsite.com/DEV/grazie/">
<input type="hidden" name="custom" value="24">
<!-- Display the payment button. -->
<input type="image" src="https://www.paypalobjects.com/it_IT/IT/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal è il metodo rapido e sicuro per pagare e farsi pagare online.">
<img alt="" border="0" src="https://www.paypalobjects.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</form>