Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lnbits/wp-donate-lnbits
https://github.com/lnbits/wp-donate-lnbits
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lnbits/wp-donate-lnbits
- Owner: lnbits
- License: mit
- Created: 2024-04-06T09:34:59.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-12T11:26:23.000Z (8 months ago)
- Last Synced: 2024-08-02T06:05:06.680Z (4 months ago)
- Language: PHP
- Size: 115 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lnbits - Bitcoin Donations - Accept Bitcoin donations on your Wordpress site and present donation messages on your website. [Demo](https://bitcoinfocus.nl/doneer/) (Uncategorized / Uncategorized)
README
# WP Donate LNbits
This Wordpress plugin gives you the possiblity to accept Bitcoin lightning donations on your Wordpress site.
For payments the plugin relies on a [LNbits](https://lnbits.com/) instance with plugin Satspay installed. Currently only Lightning payments are implemented since those are best suitable for value4value projects.
You can see a live demo on the Dutch Bitcoin news site [Bitcoin Focus](https://bitcoinfocus.nl/doneer/)## Admin settings
After installing the plugin you can set the following settings:
- API Endpoint
- API Key
- Lightning Wallet
- After payment create donation post
- Currency Options#### API Endpoint, API Key, Lightning Wallet
These settings you can take from your LNbits instance. API Endpoint is the url of your LNbits instance, without a / at the end.
The API key and Lightning Wallet you find in the GUI of LNbits. Take it from the appropriate wallet.#### After payment create donation post
When enabled, for every donation a post with donation title and message is created. The post is a custom post type: donation.#### Currency Options
Give one (or more, seperated by a comma) currencies to be supported. Current options: SAT, EUR, USD, GBP.
When SAT no conversion is done, For other options a conversion is done, before creating the payment.## Shortcode donation form
To show the donation form on a page or post you must include the following shortcode:
```[wp-donate-lnbits-form]```
into the page/post.## Shortcode to show donations
To show donations on a page or post you must include the following shortcode:
```[wp-donate-lnbits-donations]```
into the page/post.
Using this makes only sense when the option 'After payment create donation post' is enabled.## Support
This plugin is initially created for clients of [Lightning Checkout](https://lightningcheckout.eu/), but open sourced because of the general purpose of this plugin.
If you have improvements please create an issue, or even better create a PR.