Php 单个表单元素中的多个PayPal按钮

Php 单个表单元素中的多个PayPal按钮,php,forms,paypal,Php,Forms,Paypal,目前,我可以在表单元素中使用单个paypal按钮,如: <form id="pkg1" name="_xclick" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"/> <input type="hi

目前,我可以在表单元素中使用单个paypal按钮,如:

<form id="pkg1" name="_xclick" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">

                    <input type="hidden" name="cmd" value="_xclick"/>
                    <input type="hidden" name="business" value="seller_1360303883_biz@gmail.com"/>
                    <input type="hidden" name="currency_code" value="USD"/>
                    <input type="hidden" name="item_name" value="Digital Download"/>
                    <input type="hidden" name="amount" value="$<?php  echo $price1 ?>"/>
                    <input type="hidden" name="return" value="https://www.sandbox.paypal.com/cgi-bin/success.php"/>
                    <input type="hidden" name="notify_url" value="notify.php"/>
                    <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/>

                </form>


你能澄清你的问题吗?这似乎没有任何意义。如果需要多个单独的交易,那么它们需要是单独的表单(表单包含美元金额、交易ID等)。如果您想为同一事务使用多个按钮-当然,只需复制
@Colin Morelli:Thanx以引起注意,实际上我想在一个表单中执行多个单独的事务。那么这可能吗?还是加入购物车是唯一的办法?@leftclickben:Thanx man谢谢你。目前我使用单独的表格进行单独的交易。单独的表格是最好的方式。