HTML dreamweaver IPN 中的自定义 Paypal 表单
Custom Paypal Form in HTML dreamweaver IPN
我正在尝试制作一个贝宝表格来提交 "Username" 到我的 IPN,
所以它通过 IPN 编辑我的帐户( 我已经设置)
到目前为止,这是我的表格,但是当我单击 "buynow" 按钮时,它会将我带到我的 paypalaccount,而不是 paypal 结账。有人有这方面的经验吗?
我的表单代码:
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="myeamial@gmail.com">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="item_name" value="T-Shirt">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="on1" value="custom">Username</td>
</p>
<form name="_xclick" action="https://www.paypal.com/au/cgi-bin/webscr" method="post">
<td>
<p>
<input type="text" name="os1" maxlength="200">
</p></td>
<td>
<input type="image" src="http://www.paypal.com/en_AU/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></td>
</tr>
</table>
</form>
将您的 action
值更改为 https://www.paypal.com/cgi-bin/webscr
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="on1" value="custom">Username</td>
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="myeamial@gmail.com">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="item_name" value="T-Shirt">
<input type="hidden" name="amount" value="10.00">
<td>
<p>
<input type="text" name="os1" maxlength="200">
</p>
</td>
<td>
<input type="image" src="http://www.paypal.com/en_AU/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></td>
</tr>
</table>
</form>
我正在尝试制作一个贝宝表格来提交 "Username" 到我的 IPN, 所以它通过 IPN 编辑我的帐户( 我已经设置)
到目前为止,这是我的表格,但是当我单击 "buynow" 按钮时,它会将我带到我的 paypalaccount,而不是 paypal 结账。有人有这方面的经验吗?
我的表单代码:
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="myeamial@gmail.com">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="item_name" value="T-Shirt">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="on1" value="custom">Username</td>
</p>
<form name="_xclick" action="https://www.paypal.com/au/cgi-bin/webscr" method="post">
<td>
<p>
<input type="text" name="os1" maxlength="200">
</p></td>
<td>
<input type="image" src="http://www.paypal.com/en_AU/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></td>
</tr>
</table>
</form>
将您的 action
值更改为 https://www.paypal.com/cgi-bin/webscr
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="on1" value="custom">Username</td>
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="myeamial@gmail.com">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="item_name" value="T-Shirt">
<input type="hidden" name="amount" value="10.00">
<td>
<p>
<input type="text" name="os1" maxlength="200">
</p>
</td>
<td>
<input type="image" src="http://www.paypal.com/en_AU/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"></td>
</tr>
</table>
</form>