zapgirl wrote:they did provide code the create donation button where you click on it you will proceed to paypal payment site however they did not intergrate with email notification like the feature they have at wikipedia whether you like your name publicly or as an anonymous donator.
Their code for how they did that is publicly viewable:
<form class="contrib" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div style="margin:0 1em 0 .5em; border: 2px solid #aaa; padding: 1em; float: left; background-color: #fafafa; clear: left; cursor: default;"><input type="hidden" name="business" value="[email protected]" /> <input type="hidden" name="item_name" value="One time donation" /> <input type="hidden" name="item_number" value="DONATE" /> <input type="hidden" name="no_note" value="0" /> <!--
<input type="hidden" name="currency_code" value="USD" />
-->
<input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="on1" value="Comment" /> <input type="hidden" name="lc" value="en" /> <input type="hidden" name="on0" value="Anonymity" /> <input type="hidden" name="notify_url" value="http://wikimediafoundation.org/cgi-bin/paywiki.cgi" />
<table style="background-color: transparent;" width="300px" cellpadding="5">
<tr>
<td width="30%"><label for="don-amount"><b>One time gift of</b></label></td>
<td width="70%"><input type="text" name="amount" id="don-amount" maxlength="30" size="5" /> <select name="currency_code">
<option value="USD" selected="selected">$ (USD)</option>
<option value="EUR">€ (EUR)</option>
<option value="GBP">£ (GBP)</option>
<option value="CAD">$ (CAD)</option>
<option value="AUD">$ (AUD)</option>
<option value="JPY">¥ (JPY)</option>
</select></td>
</tr>
<tr>
<td width="30%"><label for="os1">Public comment<br />
<small>(200 characters max)</small></label></td>
<td width="70%"><input type="text" size="25" name="os1" id="os1" maxlength="200" /></td>
</tr>
<tr>
<td width="30%">Public donor list<br /></td>
<td width="70%"><input type="radio" name="os0" id="name-yes" value="Mention my name" /><label for="name-yes">List my name</label><br />
<input type="radio" name="os0" id="name-no" checked="checked" value="Don't mention my name" /><label for="name-no">List anonymously</label></td>
</tr>
<tr>
<td width="30%"><input class="centered" type="submit" value="Donate Now!" /></td>
<td width="70%"><img src="http://upload.wikimedia.org/wikipedia/foundation/7/78/Credit_cards.png" alt="Visa, MasterCard, Discover, American Express, eCheck" /></td>
</tr>
</table>
</div>
</form>
Will produce the code they have on
their webpage such as this:
––•–√\/––√\/––•–– nostalgia is an emotion for people with no future ––•–√\/––√\/––•–-