我有一个产品列表,我想添加一个“立即付款”按钮,以便我可以让我的客户通过Paypal付款。通过Paypal支付多个项目(一次)
我已经通过文档,找不到如何做到这一点。 我可以添加多个项目,但这不会很方便,因为我已经有要处理的项目列表。 我还需要结账过程来逐项列出订单,所以1价格的“立即购买”也不好。
任何帮助表示赞赏,大家好,我想(有没有运气):
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="test 1">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="item_name2" value="test 2">
<input type="hidden" name="item_number2" value="2">
<input type="hidden" name="item_name3" value="test 3">
<input type="hidden" name="item_number3" value="3">
<input type="hidden" name="amount" value="99.00">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<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.paypal.com/en_GB/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.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
如何为每件商品指定不同的数量? – 2016-12-27 18:45:32
@JosephPersie我已经更新了答案。还请查看此链接以获取更详细的答案https://www.paypal-community.com/t5/About-Selling/how-do-i-add-a-quot-quantity-quot-option-to-my- button-ie-5-x/td-p/480148 – Codex73 2016-12-28 06:21:17