給你的博客添加PayPal捐贈按鈕

接受熱心人士的捐款是一些網站維持正常動作的常用方法。國際在線支付機構PayPal,中國大陸地區稱之為“貝寶”,就提供了一種捐贈按鈕服務,博主們簡單地設置一下後,就可以把這個捐贈按鈕掛在自己的博客網頁上,網友點擊該按鈕,進入相關頁面,就可以為你捐款。 PayPal捐款曾經是國外一些網站謀生的途徑,這些網站包括了一些侵犯版權的視頻、音樂下載網站。基於這一原因,或者其他未知的原因(可能有洗錢、逃稅等目的),PayPal官方組織在“商家工具”中取消了捐贈按鈕的設置選項。 本文推薦一個方法,可以方便地實現“捐贈”功能: 首先,拷貝以下代碼: <form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”> <input type=”hidden” name=”cmd” value=”_donations”> <input type=”hidden” name=”business” value=”3PFDCYHUVQ75W”> <input type=”hidden” name=”lc” value=”C2″> <input type=”hidden” name=”item_name” value=”since1989″> <input type=”hidden” name=”no_note” value=”0″> <input type=”hidden” name=”currency_code” value=”USD”> <input type=”hidden” name=”bn” value=”PP-DonationsBF:btn_donateCC_LG.gif:NonHostedGuest”> <input type=”image” src=”https://www.paypalobjects.com/zh_XC/i/btn/btn_donateCC_LG.gif” border=”0″ name=”submit” alt=”PayPal——最安全便捷的在线支付方式!”> <img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif” width=”1″ height=”1″> </form>   將第一個value字符段改成你的PayPal賬戶郵箱,或者你的商家ID。第二個value加紅字段內信息是指“捐贈目的”,你可以填寫需要的內容,如:“捐贈本站”、“Buy Me a Drink”等等。 代碼修改完成後,在博客後台位置添加這段HTML代碼。以WordPress為例,在後台“小工具”中選擇“文本”,粘滯代碼,保存即可。 當然,歡迎捐助本站,您可以附上一個要求,如需要本站發表哪些題材的文章,我會盡力滿足。 […]

Begin typing your search term above and press enter to search. Press ESC to cancel.