ecshop paypal代码接口

2016-07-07 15:05 来源:www.chinab4c.com 作者:ecshop专家

我在ecshop购物最后一步加了paypal代码,
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="louisvuittonhome@gmail.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name_1" value="item">
<input type="hidden" name="amount_1" value="1.00">
<input type="hidden" name="quantity_1" value="3">
<input type="hidden" name="item_name_2" value="Item Name 2">
<input type="hidden" name="amount_2" value="2.00">
<input type="hidden" name="hosted_button_id" value="7074277">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_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_US/i/scr/pixel.gif" width="1" height="1">
</form>

这个代码希望在dwt里面呢?还是php里面呢?还有去item_name_1(购物车里的物品)总是报错?哪位高手能够帮我看看,重金有赏啊。