我有一個產品列表,我想添加一個「立即付款」按鈕,以便我可以讓我的客戶通過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