【发布时间】:2014-04-11 02:01:01
【问题描述】:
我有一个表格,我想提交给 paypal。当我提交表单时,我没有看到所提交产品的概述,但我最终进入了 paypal 的默认页面。
我从http://sandbox.paypal.com 开始,但我也尝试了非沙盒网站。
<form action="http://sandbox.paypal.com/cgi-bin/webscr" id="paypal_form" method="post" name="paypal_form">
<input name="cmd" type="text" value="_xclick">
<input name="business" type="text" value="some@email.com">
<input name="lc" type="text" value="CH">
<input name="item_name" type="text">
<input name="item_number" type="text">
<input name="amount" type="text">
<input name="currency_code" type="text" value="CHF">
<input name="no_note" type="text" value="1">
<input type="text" name="return" value="http://google.com">
<input name="address_override" type="text" value="1">
<input name="country" type="text" value="CH">
<input name="first_name" type="text">
<input name="last_name" type="text">
<input name="address1" type="text">
<input name="zip" type="text">
<input name="city" type="text">
<input name="email" type="text">
</form>
由于我根本没有收到错误,所以我不知道出了什么问题。当 Paypal 告诉我必须提供城市或类似信息时,我遇到过一些案例,但现在我只是被转发了。
注意:Charles Proxy 告诉我表单是使用这些值提交的:
【问题讨论】:
标签: html forms http post paypal