=== Very Simple PayPal Donation Form ===
Contributors: springthistle
Tags: donate, donation, donations, paypal, shortcode
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.4
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Put a simple PayPal donation form on any post or page with a shortcode.

== Description ==

Put a simple PayPal donation form on any post or page with a shortcode. The form has buttons for quick donation amounts, the option to enter your own amount, and the option to choose a one-time or monthly recurring donation.

Use the shortcode `[vsdf_donation_form]` on any page, and set your PayPal email address, currency, amount buttons and button text under Settings > Donation Form.

= External services =

This plugin sends your donors to PayPal to complete their donation. When a donor clicks the donate button, the form submits the donation amount, the donation type (one-time or monthly), the currency code, your PayPal email address and your chosen return page URL to paypal.com. Nothing is sent to PayPal until the donor clicks the button.

* PayPal Terms of Use: https://www.paypal.com/us/legalhub/paypal/useragreement-full
* PayPal Privacy Statement: https://www.paypal.com/us/legalhub/paypal/privacy-full

== Installation ==

1. Install either via the WordPress.org plugin directory, or by uploading the files to your server.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. Go to Settings > Donation Form and enter your PayPal email address.
1. Use the shortcode [vsdf_donation_form] on any page!

== Frequently Asked Questions ==

= What if I want a new feature? =

Ask in the [support forum](https://wordpress.org/support/plugin/very-simple-paypal-donation-form/). I may add it for you.

= Can I use a currency other than US dollars? =

Yes. Enter the three-letter currency code and the symbol you want displayed in the plugin settings.

== Screenshots ==

1. Front-end form
1. Settings screen

== Changelog ==

= 1.4 =
* Security: all settings are now sanitized when saved, and all output is escaped.
* Fix: removed a stray output-buffer flush that could interfere with other output on the page.
* The form's CSS and JavaScript now load only on pages that show the form; the admin CSS and JavaScript load only on the plugin's settings page.
* Renamed script and style handles so they cannot collide with other plugins.
* The currency symbol is now used in the default-amount choices on the settings page and in the form's validation messages.
* Fixed the broken logo image, invalid link and label markup on the settings page, and duplicate HTML ids and attributes in the form.
* Moved the settings page script into its own file and replaced deprecated jQuery calls.
* Added translation support for visible text.
* Added uninstall cleanup of the plugin's saved settings.
* Updated requirements: WordPress 6.0 and PHP 7.4. Tested up to WordPress 7.1.

= 1.3 =
* You can now specify a currency symbol to display on the form.

= 1.2 =
* You can now specify currency.

= 1.1 =
* Consolidated more functionality into classes.
* Added settings for PayPal Email and Extra CSS.
* Cleaned up front-end css.

= 1.0 =
* Initial custom build. Functional but not customizable.

== Upgrade Notice ==

= 1.4 =
Security and compatibility update. Amount options are now limited to whole numbers. Please check your settings after updating.
