Install Lightning Paywall from WordPress
The WordPress Lightning Paywall can be searched in the plugin directory at WordPress and installed via it.
In your WordPress instance, go to the Plugins > Add New section.
In the search, type Lightning Paywall and you will see the WordPress Lightning Paywall for BTCPay Server.
Click on Install Now.
After the successful installation click Activate and you can start the setup process of the plugin.
You can also download the WP Lightning Paywall Plugin from the WordPress Directory page:
Install Lightning Paywall from Github
Likewise, the latest software of the WordPress Lightning Paywall plugin can be downloaded from our Github page and manually installed on its WordPress instance.
You can find the latest version of WordPress Lightning Paywall on our Github page, which you can reach via the following link: https://github.com/coincharge-io/Wordpress-Lightning-Paywall
On the page there is the green button with the text code.
If you click on it, the menu will pop up and you will see Download ZIP.
At this point you can download the current version of the plugin: WordPress Lightning Paywall to your local computer, in order to install it in a further second step at WordPress under Plugin.
The menu item “Enabled on” defines in which areas of WordPress the Lightning Paywall should be used.
All available sections and categories are already listed.
If you create your paid content via your blog, you activate the Lightning Paywall for all posts.
If the paid content is created via Pages, the checkbox should be set at Page.
If you want to be on the safe side, you can also check the box for all available areas.
The Payment Box is displayed to the customer and contains the request to pay the Lightning Paywall.
This payment Box can look like the picture on the right.
But it can also be customized to your own requirements.
These customization options are presented below.
Checkout price info
In the Checkout price Info field, the customer is shown what amount, in what currency, is paid for what period.
If the field is left empty, the information stored in the system will be used.
For example, if the user is to be displayed:
For 1000 SATS you will have access to the content for 2 hours then the following text will be used in the background:
For [price] [currency] you will have access to the content for [dtype][duration].
You can use your own text. You just have to use the following commands within your text, so that the system can take over the values automatically.
- [price] – the price that will be taken from the Default Price field.
- [currency] – the currency specified in Default Price.
- [dtype] – the numerical value specified in the Default Duration field.
- [duration] – the time period specified in the Duration Type field.
You get [duration] [dtype] access to the post for [price] [currency]
Price & Duration
In the Default Price field, you can define which default amount should be used for the paid posts.
Besides the currency USD and EUR, the currency units for Bitcoin in the smallest Bitcoin unit in Sats can be decided.
The “Select Bitcoin price display” field is used to specify whether to display the bitcoin price to the client in Sats or in BTC.
The amount in a FIAT currency, such as Euro or USD, can be specified in 1.00 EUR or 0.50 USD.
To represent the decimal numbers, a point must be set. The setting of a comma is not supported.
With SATS, decimal numbers cannot be used. Here, whole numbers must be used, such as 1000 sats.
Under Default Duration you can specify how long the post should be made available to the user.
In addition to the setting options Once and Unlimited, there is also the option to define a time period.
For payment processing, the Lightning Paywall uses the functionality of the BTCPay Store.
The prerequisite is the setup of a BTCpay Store. The instructions on how to set up a BTCPay Store can be found in the next chapter: “Setup BTCPay Store for Lightning Paywall“.