Donations via PayPal

Kuvaus

Adds a PayPal donation shortcode and sidebar Widget to WordPress. The options menu lets you setup you PayPal ID and a few other optional settings. You can choose which donation button you want to use or if you want to use your own button. You can also set an optional default purpose and reference which can be overridden on each inserted instance with the shortcode options or in the Widget settings. There is also options available for currency, localization of the button, custom payment page style and the return page.

Widget

In the Appearance -> Widgets you’ll find the PayPal Donations widget. After adding it to your sidebar you can enter a title for the Widget, some descriptive text that will appear above the button and specify an optional purpose and reference for the donation button to override the default settings.

Shortcode

Insert the button in your pages or posts with this shortcode

[paypal-donation]

Which is the simplest option, and uses all default and optional settings. If you want to make a specific button for a specific purpose you can add additional options. Example:

[paypal-donation purpose="Spline Importer" reference="3D Plugins"]

This donation plugin generates valid XHTML Transitional and Strict code.

Translations

The following language translations are already available in the plugin:

  • Albanian (sq_AL)
  • Danish (da_DK)
  • Dutch (nl_NL)
  • French (fr_FR)
  • German (de_DE)
  • Hebrew (he_IL)
  • Italian (it_IT)
  • Lithuanian (lt_LT)
  • Malay – Bahasa Melayu (ms_MY)
  • Norwegian bokmål
  • Romanian (ro_RO)
  • Russian (ru_RU)
  • Spanish (es_ES)
  • Swedish (sv_SE)
  • Turkish (tr_TR)

Related Links

Kuvankaappaukset

  • Admin page where you setup the plugin
  • Sidebar Widget Admin Options

Asennus

Install

  1. Upload the ’paypal-donations’ folder to the ’/wp-content/plugins/’ directory.
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Go to Settings -> PayPal Donations and start entering your info.

Uninstall

  1. Deactivate PayPal Donations in the ’Plugins’ menu in WordPress.
  2. After Deactivation a ’Delete’ link appears below the plugin name, follow the link and confim with ’Yes, Delete these files’.
  3. This will delete all the plugin files from the server as well as erasing all options the plugin has stored in the database.

UKK

Where can I get support?

Please visit the Support Forum
for questions, answers, support and feature requests.

Arvostelut

16.4.2025 2 replies
After installing this plugin, within days I was hit by PayPal phishing emails, fake invoices, spam, junk email, etc… despite using an email spam filter on the server. I dutifully forwarded all phishing emails to PayPal’s spoof@paypal.com email address. I couldn’t understand why there was such an uptick in fake invoices, scams, and assorted junk. Then I clicked on the Donate Now button. Right there for the world to see was my email address, shown in a pop-up window—no visit to PayPal’s website necessary. It didn’t dawn on me when I first installed it that if I could see my email, then so could the world. So I went into the ”Donate via PayPal” settings and changed it to Merchant ID. I’m not a merchant or business; I run a free website that accepts donations. I grabbed the Merchant ID anyway from my PayPal account settings and swapped out my email address for this ID to see if it hid my email. Instead, when you click the Donate button my full name shows up! What is wrong with this plugin and privacy? It literally is sharing your email address to the entire world with no encryption or even bothering trying to hide it. I then looked at my site’s source code. Right there for the world to see was my email address, unencoded, waiting to be scraped by scammers, schemers, fraudsters, and Nigerian princes. My friggin’ contact form hides my email address. So great job on exposing my addy to the world and greatly increasing my spam, phishing emails, and frustration. PS: I don’t care if they see my email once they get to the Paypal website as most scammers are automated, but to show it in a pop-up window without ever leaving the site and having it embedded in the source code is beyond irresponsible. The author needs to fix this.

Bom

14.4.2023 1 reply
Infelizmente não tem linguagem em Português/Brasil.
21.6.2022 1 reply
Almost…if you, for instance, are setting up a donation link to the PayPal account of your new client who didn’t realize they need a business Paypal account not a personal account to receive donations, then when you try, for instance, a test $10 donation to see how it is all going to work, you get a PayPal error saying something went wrong. Hmmm. Then while you’re trying to figure out what went wrong your new client emails you to tell you Paypal has suspended their account permanently.
Lue kaikki 26 arvostelua.

Avustajat & Kehittäjät

“Donations via PayPal” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

“Donations via PayPal” has been translated into 11 locales. Kiitoksia kääntäjille heidän työstään.

Käännä “Donations via PayPal” omalle kielellesi.

Oletko kiinnostunut kehitystyöstä?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Muutosloki

version 1.9.11

  • Language translation related updates.
  • Updated the French language translation .po file.
  • Adjusted the navigation tabs HTML and CSS to be compatible with the latest version of WordPress.

version 1.9.10

  • jQuery code update: stopped using jQuery.fn.click in favor of jQuery.fn.on( ’click’ )

version 1.9.9

  • Added output escaping in the settings menu. Thanks to WPScan.

version 1.9.8

  • Added a settings link in the plugin’s menu so it can be accessed easily.

version 1.9.7

  • PHP8 compatibility improvements.

version 1.9.6

  • Updated the PayPal button image URLs to the new URLs to remove the auto-redirect on them.

version 1.9.5

  • Removed a deprecated function for PHP 7.2.1

version 1.9.4

  • Added a new filter that allows overriding of the paypal email address dynamically.

version 1.9.3

  • Added sanitization and escaping where appropriate.

version 1.9.2

  • Added the do_shortcode filtering call on widget_text.

version 1.9.1

  • WordPress 4.4 compatibility.

version 1.9.0

  • Added a new filter that will allow tweaks to localize the button image on a multi-lingual website.
  • Added PayPal IPN validation option.

version 1.8.9

  • Fixed an issue with saving the custom image URL for the donate button in the admin interface.

Version 1.8.8

  • WordPress 4.2 compatibility

Version 1.8.7

  • WordPress 4.1 compatibility

Version 1.8.6

  • WordPress 4.0 compatibility
  • Updated documentation page links

Version 1.8.5 – 21 Sep 2014

  • Add support for PayPal Sandbox.
  • Update Swedish translation.

Version 1.8.4 – 5 May 2014

  • Additional currencies: Malaysian Ringgit, Russian Ruble.
  • Additional Checkout Languages: Belgium, Switzerland, Poland, Russia.
  • Removes PHP notice when running WordPress in debug mode.

Version 1.8.3 – 11 Apr 2014

  • Adds a Remove Line Feeds option on the Advanced tab, that makes the PayPal
    form output not be affected if using a theme or a plugin that modifies
    WordPress to start auto styling shortcodes/widgets.

Version 1.8.2 – 22 Mar 2014

  • Adds the option to have PayPal open in a new tab.

Version 1.8.1 – 27 Apr 2013

  • Various minor code improvements.
  • Bumps required WordPress version to v3.0.
  • Updated Romanian Translation by Denis Ciumbargi.

Version 1.8 – 9 Mar 2013

  • Added tabbed navigation in the plugin admin settings, and moved Extras into
    the advanced tab.
  • Updated the admin input fields in size to follow WordPress standard layout.
  • Implemented return method, as an advanced option.
  • Updated administration to use WordPress Settings API.
  • Updated Swedish translation.

Version 1.7 – 19 Feb 2013

  • Moved the development to
    GitHub.
  • Refactored code to comply with the PSR-2 standard.
  • Bumped minimum PHP version to 5.2.4.
  • Bumped minimum required WordPress version to WordPress 2.8.

Version 1.6 – 13 Mar 2012

  • Added an option under extras to set a PayPal checkout language.
  • Added filter paypal_donations_purpose_html, to allow tweaking the default
    hidden form input element for purpose.
  • Included Romanian translation by Marko Pozner.

Version 1.5 – 9 Jan 2012

  • Added an option to disable PayPal statistics tracking image.
  • Added an option to center the button by overriding the theme CSS.

Version 1.4.9.6 – 23 Oct 2011

  • Included Malay – Bahasa Melayu translation by Amir Shariff.

Version 1.4.9.5 – 3 Sep 2011

  • Added filter ’paypal_donations_url’, to hook into the URL used, to be able to
    try the button against PayPal’s Sandbox for instance.
  • Added filter ’paypal_donations_amount’, to hook into the set amount before
    rendering the button.
  • Included Lithuanian translation by Nata Strazda.
  • Changed the plugin class name from paypal_donations to Paypal_Donations.

Version 1.4.9.4 – 22 May 2011

  • Included Norwegian translations by Tore Johnny Bråtveit.

Version 1.4.9.3 – 18 Apr 2011

  • Added Turkish Lira (TRY) to the list of currencies.

Version 1.4.9.2 – 02 Apr 2011

  • Added four new currencies that PayPal supports for donations to choose from:
    Brazilian Real (BRL), Taiwan New Dollar (TWD), Philippine Peso (PHP), Thai
    Baht (THB)

Version 1.4.9.1 – 08 Jan 2011

  • Included Turkish translation by Ersan Özdil.

Version 1.4.9 – 08 Jul 2010

  • Included Dutch translation by WP webshop.

Version 1.4.8 – 29 Jun 2010

  • Added shortcode for button_url.
  • Removed a few deprecated functions from the code.
  • Included German translation by Rian Kremer.

Version 1.4.7 – 30 Apr 2010

  • Included Spanish translation by Neoshinji.

Version 1.4.6 – 19 Feb 2010

  • Included Italian translation by Gianni Diurno.
  • Updated the .pot file to include the latest strings for translations.

Version 1.4.5 – 28 Nov 2009

  • Added shortcode for the return_page.

Version 1.4.4 – 4 Nov 2009

  • Included Hebrew translation by Daniel Chcouri.

Version 1.4.3 – 15 Oct 2009

  • Included Danish translation by Georg S. Adamsen.

Version 1.4.2 – 14 Oct 2009

  • Included Albanian translation by Romeo Shuka.

Version 1.4.1 – 6 Sep 2009

  • Corrected available language translations for the button graphics.

Version 1.4 – 6 Sep 2009

  • Added a dropdown menu to select country and language to localize the graphics
    of the donation button.

Version 1.3.3 – 2 Sep 2009

  • Included French translation by Thomas Cailhe (Oyabi).

Version 1.3.2 – 28 Aug 2009

  • Included Russian translation by FatCow.

Version 1.3.1 – 25 August 2009

  • Added Swedish translation.
  • Added the .pot file and textdomained all strings to allow translations.

Version 1.3 – 8 July 2009

  • Added an option to set a default donation amount.

Version 1.2 – 18 June 2009

  • Added a sidebar Widget (WordPress 2.8 or newer)

Version 1.1 – 23 May 2009

  • Added an option to select the currency to make the donations in.
  • Changed the default button in a new install from a custom button to the large
    button.

Version 1.0 – 7 May 2009

  • Initial Release