This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "Widget:PayPal Donation"
(Modified the default PayPal Donation widget to fit OWASP's situation) |
|||
| Line 3: | Line 3: | ||
Created by [https://www.mediawiki.org/wiki/User:Tosfos Ike Hecht] | Created by [https://www.mediawiki.org/wiki/User:Tosfos Ike Hecht] | ||
| + | |||
| + | Modified for OWASP use by Matt Tesauro | ||
== Using this widget == | == Using this widget == | ||
For information on how to use this widget, see [http://www.mediawikiwidgets.org/PayPal_donation the widget description page on MediaWikiWidgets.org]. | For information on how to use this widget, see [http://www.mediawikiwidgets.org/PayPal_donation the widget description page on MediaWikiWidgets.org]. | ||
| + | |||
| + | Basically, put the wiki code below into your page: | ||
| + | |||
| + | <nowiki>{{#widget:</nowiki>PayPal donation<nowiki> | ||
| + | |target= | ||
| + | |currency= | ||
| + | |budget= | ||
| + | }}</nowiki> | ||
| + | |||
| + | All three parameters (target, currency & budget) are optional and have the following default values | ||
| + | |||
| + | <nowiki> | ||
| + | |target=_top | ||
| + | |currency=USD | ||
| + | |budget=general</nowiki> | ||
| + | |||
| + | So if you want your chapter or project to get the donation, put its name in the budget parameter like: | ||
| + | |||
| + | <nowiki>|budget=Chicago Chapter</nowiki> | ||
| + | |||
| + | or | ||
| + | |||
| + | <nowiki>|budget=OWASP WTE</nowiki> | ||
== Copy to your site == | == Copy to your site == | ||
| Line 12: | Line 37: | ||
<div class="paypal_donation_button"> | <div class="paypal_donation_button"> | ||
<input type="hidden" name="cmd" value="_donations"> | <input type="hidden" name="cmd" value="_donations"> | ||
| − | <input type="hidden" name="hosted_button_id" value=" | + | <input type="hidden" name="hosted_button_id" value="Z7MBFA8U9B6B8"> |
| + | <input type="hidden" name="lc" value="BM"> | ||
| + | <input type="hidden" name="item_name" value="OWASP Foundation"> | ||
| + | <input type="hidden" name="item_number" value="<!--{$budget|escape:'html'|default:'general'}-->"> | ||
| + | <input type="hidden" name="no_note" value="0"> | ||
<input type="hidden" name="currency_code" value="<!--{$currency|escape:'html'|default:'USD'}-->"> | <input type="hidden" name="currency_code" value="<!--{$currency|escape:'html'|default:'USD'}-->"> | ||
| − | <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/ | + | <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest"> |
| + | <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> | ||
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> | <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> | ||
</div> | </div> | ||
</form> | </form> | ||
</includeonly> | </includeonly> | ||
Revision as of 04:44, 23 September 2016
This widget allows you to embed A PayPal donate button on your wiki page.
Created by Ike Hecht
Modified for OWASP use by Matt Tesauro
Using this widget
For information on how to use this widget, see the widget description page on MediaWikiWidgets.org.
Basically, put the wiki code below into your page:
{{#widget:PayPal donation
|target=
|currency=
|budget=
}}
All three parameters (target, currency & budget) are optional and have the following default values
|target=_top |currency=USD |budget=general
So if you want your chapter or project to get the donation, put its name in the budget parameter like:
|budget=Chicago Chapter
or
|budget=OWASP WTE
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as Widget:PayPal Donation article.