简体   繁体   English

HTML Dreamweaver IPN中的自定义贝宝表单

[英]Custom Paypal Form in HTML dreamweaver IPN

Im trying to make a paypal form to submit "Username" to my IPN, so it edits my account via IPN (witch I have setup) 我试图制作一个贝宝表格以将“用户名”提交到我的IPN,因此它通过IPN编辑我的帐户(我已设置巫婆)

this is my form so far but when i click "buynow" button it takes me to my paypalaccount not to the paypal checkout. 到目前为止,这是我的表格,但是当我单击“ buynow”按钮时,它会将我带到我的paypalaccount而不是paypal结帐。 anyone had experience on this? 有人对此有经验吗?

my form code: 我的表格代码:

 <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>

Change your action value to https://www.paypal.com/cgi-bin/webscr 将您的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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM