【发布时间】:2018-10-25 06:20:03
【问题描述】:
我想从我的网站插入一个Amount 到PayPal form,当他们点击Submit 按钮时。
item_name、quantity都是PayPal网站上的显示,但Price per item是空的?我需要添加Price per item amount field 中的任何金额?
HTML 表单
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" value="_xclick" name="cmd">
<input type="hidden" value="1" name="upload">
<input type="hidden" value="xxx@gmail.com" name="business">
<input type="hidden" value="T-SHIRT" name="item_name">
<input type="hidden" value="6.99" name="amount_1">
<input type="hidden" value="1" name="quantity">
<input type="hidden" value="" name="custom">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" value="http://localhost/paypalform/my_ipn.php" name="notify_url">
<input type="hidden"
value="http://localhost/paypalform/checkout_complete.php"
name="return">
<input type="hidden" value="2" name="rm">
<input type="hidden" value="Return to The Store" name="cbt">
<input type="hidden"
value="http://localhost/paypalform/paypal_cancel.php"
name="cancel_return">
<input type="hidden" value="GB" name="lc">
<input type="hidden" value="EUR" name="currency_code">
<input type="image" name="submit"
src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif">
</form>
Paypal 截图
我有尝试金额而不是金额_1 PayPal 显示错误消息
Things don't appear to be working at the moment. Please try again later.
【问题讨论】: