Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
精简过的PayPal捐赠按钮和OKPay捐赠按钮。前者是基于“立即购买”按钮修改的,因为中国的PayPal账户不能接收捐赠。
<center>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="soli@cbug.org">
<input type="hidden" name="item_name" value="Support cbug.org">
<input type="hidden" name="amount" value="">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" style="border:0px;background:none;" name="submit" alt="PayPal - The safer, easier way to pay online">
</form>
</center>
<center>
<form method="post" action="https://www.okpay.com/process.html">
<input type="hidden" name="ok_receiver" value="OK164083721"/>
<input type="hidden" name="ok_item_1_name" value="Support cbug.org"/>
<input type="hidden" name="ok_item_1_price" value=""/>
<input type="hidden" name="ok_currency" value="USD"/>
<input type="image" name="submit" style="border:0px;background:none;" alt="OKPAY - The safer, easier way to pay online" src="https://www.okpay.com/img/buttons/en/donate/d07o111x29en.png"/>
</form>
</center>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment