Donate Me

描述

Adds PayPal donation with Donate Me shortcode in any place of your website. In the settings, add your PayPal email or Merchant ID.

Supported currencies:
Australian Dollars (AUD), Brazilian Real (BRL), Canadian Dollars (CAD), Czech Koruna (CZK),
Danish Krone (DKK), Euro (EUR), Hong Kong Dollar (HKD), Hungarian Forint (HUF),
Israeli New Shekel (ILS), Japanese Yen (JPY), Malaysian Ringgit (MYR), Mexican Peso (MXN),
Norwegian Krone (NOK), New Zealand Dollar (NZD), Philippine Peso (PHP), Polish Zloty (PLN),
Pounds Sterling (GBP), South African Rand (ZAR), Russian Ruble (RUB), Singapore Dollar (SGD),
Swedish Krona (SEK), Swiss Franc (CHF), Taiwan New Dollar (TWD), Thai Baht (THB),
Turkish Lira (TRY), U.S. Dollars (USD).

  • Multiple buttons and styles.
  • Choose your button text, color, and text color.
  • Choose button alignment.
  • Live preview in settings.

Security

Version 1.3.0 adds:
– Nonce verification on settings save (CSRF protection)
– Input sanitization with WordPress sanitize_* functions
– Output escaping with esc_html / esc_attr / esc_url
– Currency and position allowlist validation
– Fixed ZAF -> ZAR currency code for South African Rand

屏幕截图

安装

  1. Upload the ‘donate-me’ folder to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings -> Donate Me and add your information.
  4. Insert the button in your pages or posts with this shortcode:
    [donateme]

常见问题

Documentation:
https://raphaelheide.com/donateme

评价

2023 年 3 月 29 日
thanks for this plugin. I was looking for a simple plugin to manage and works great. I just added my paypal email and done!
阅读所有2条评价

贡献者及开发者

「Donate Me」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Donate Me」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Donate Me」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.3.0
* Redesigned admin UI with live button preview
* Added nonce verification (CSRF protection)
* Full input sanitization and output escaping
* Currencies now stored as ISO codes directly (no fragile string replacement)
* Fixed South African Rand currency code (ZAF ZAR)
* Removed unused vendor/autoload.php dependency
* Improved shortcode output with proper escaping
* Requires WordPress 5.0+

Version 1.2.5
* Some corrections

Version 1.2.4
* Color corrections

Version 1.2.3
* Choose any button color
* Choose any text color
* Choose your align position

Version 1.2.2
* Some corrections

Version 1.2.1
* Tested in WP 6.2

Version 1.2
* Some corrections
* Added Default Site Color Button
* Added Primary Site Color Button

Version 1.1
* Initial Release