=== LetsPay Donations ===
Contributors: pachini
Tags: donations, crypto, fundraising, givewp
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept one-time cryptocurrency donations through GiveWP. Donations go to your wallet and appear as complete after a signed payment confirmation.

== Description ==
LetsPay Donations adds a cryptocurrency payment option to the classic and visual GiveWP donation forms. The donor selects a coin and network on a hosted checkout. GiveWP marks a donation complete once LetsPay confirms the payment and the plugin verifies the signed notification.

The integration requires GiveWP, a LetsPay merchant account, a verified site domain and a receiving wallet. The [pricing page](https://letspay.today/en/pricing) explains the free allowance and processing fees.

= External services =
When a donor chooses cryptocurrency and submits the form, the plugin sends the donation reference, amount, currency and integration name to [LetsPay](https://letspay.today/en/) at api.letspay.today. The request uses the project's API credential. The donor's name, email and form answers stay out of that request. The donor's browser opens the hosted checkout. LetsPay sends the payment result to the webhook URL the administrator registered. See the [GiveWP integration privacy policy](https://letspay.today/en/docs/plugins#givewp-data).

== Installation ==
1. Install and activate GiveWP, then activate LetsPay Donations.
2. Open Donations > LetsPay and copy the webhook URL. In your LetsPay project, verify your domain and save the webhook and HTTPS return URLs.
3. In WordPress, select the matching project currency and save the live API key and live webhook signing key.
4. In GiveWP's payment gateway settings, enable LetsPay for the desired form type and use live mode for checkout.

== Frequently Asked Questions ==
= Can I check the webhook without transferring cryptocurrency? =
Yes. Save a separate test signing key under Donations > LetsPay and send a test event from the project dashboard. The webhook acknowledges the sample without completing a donation.

= Which donations are supported? =
The gateway supports one-time donations on classic and visual forms. GiveWP test mode hides the live payment method.

== Changelog ==
= 1.0.1 =
* Add directory documentation and validate incoming webhook headers.
= 1.0.0 =
* Initial release with classic and visual GiveWP forms and signed payment confirmations.
