• Home
  • Demo Page
    • Pay-per-Post Blog Post Demo Page
    • Pay-per-View Video Demo Page
    • Pay-per-File Download Demo Page
  • Setup
    • WP Lightning Paywall
    • BTCPay Store
    • Pairing Paywall & Store
    • Customization
  • Add Paywall by:
    • Shortcode
    • Gutenberg
    • Elementor
    • WPBakery
  • Help for User
    • How to pay the Lightning Paywall
    • What is a Lightning Wallet?
    • What is Lightning?
  • FAQ
  • Blog
  • English
    • Deutsch
Wordpress Lightning PaywallWordpress Lightning Paywall
Wordpress Lightning PaywallWordpress Lightning Paywall
  • Home
  • Demo Page
    • Pay-per-Post Blog Post Demo Page
    • Pay-per-View Video Demo Page
    • Pay-per-File Download Demo Page
  • Setup
    • WP Lightning Paywall
    • BTCPay Store
    • Pairing Paywall & Store
    • Customization
  • Add Paywall by:
    • Shortcode
    • Gutenberg
    • Elementor
    • WPBakery
  • Help for User
    • How to pay the Lightning Paywall
    • What is a Lightning Wallet?
    • What is Lightning?
  • FAQ
  • Blog
  • English
    • Deutsch

Setup BTCPay Store for Lightning Paywall

BTCPay Server
BTCPay Server

Setup BTCPay Store for Lightning Paywall

February 7, 2021 Documentation 16 Comments

Setup BTCPay Store for Lightning Paywall

The BTCPay server is used to settle the payment processing of the Lightning Paywall with Bitcoin and by Lightning. With a BTCPay Server, you are your own Bitcoin payment provider and can organize the payment processing of Bitcoin and Lightning on your own.

BTCPay Server is a free and open-source software that allows you to be your own Bitcoin payment processor. BTCPay Server supports a variety of ways to run your own BTCPay Server.
An overview of the different deployment methods can be found at BTCPay Server Choosing a Deployment Method.

You can run a BTCPay server on your own server. Already for less than $8,- per month there are hosters (VPS) like LunNode that offer the hosting of an own BTCPay server including Bitcoin Blockchain and Lightning Node.

You can either set up your own BTCPay server or we can do it for you.
Alternatively, you can also use our existing Coincharge BTCPay server.

Hosting / VPS

LunaNode BTCPay Server

How you can set up and run your own BTCPay server for less than $8,- per month at the hoster LunaNode, you can read in the article: LunaNode Hosting on Coincharge.

You can either set up your own BTCPay server or we can do it for you.

Hardware Node

Hardware node providers have already preinstalled the BTCPay server on the node. This is the case on the hardware nodes of the providers Nodl, Umbrel, myNode and Raspiblitz.

Raspiblitz BTCPay Server

3rd Party BTCPay Server

btcpay.coincharge.io

If you do not want to operate your own BTCPay server, you can also use the services of so-called 3rd party hosters. These providers make the corresponding BTCPay Store available on their own BTCPay servers.

Coinpages also provides a 3rd party solution under the address: https://btcpay.coincharge.io.

Here, publishers can use the Bitcoin payment processing functions free of charge and have the Bitcoin forwarded to their own Bitcoin wallet.

If you use a 3rd party BTCPay server solution, you can only offer Bitcoin payment to your customers.

In order to accept Lightning payments additionally, the use of an own Lightning Node is required.

As already described above, this can be easily implemented with an own BTCPay server at a hoster (such as Lunanode) or the use of a hardware node.

If you would like support in setting up your own BTCpay server including a Lightning node to receive Bitcoin and Lightning payments without restrictions, please contact Coincharge and we will implement this for you.

BTCPay Store

If you run your own BTCPay server with Lightning Node or use a 3rd party BTCPay server, you have to create a BTCPay store.
Here we explain how to create a BTCPay store to accept payments for the Lightning paywall.

Create a BTCPay Store

Create an account on the BTCPay server and log in.
In the menu bar that appears at the top you will find the Stores item.
When you click on it, you will be offered the possibility to create a new store.

Create a new BTCPay Store

Create a BTCPay Store

BTCPay Store general Settings New Store

Think of a name for the store and click Create.

We use the name WordPress Lightning Paywall in our example.

We enter the General Settings of the new BTCPay store.

At this point, you must specify which Bitcoin wallet and which lightning node the incoming payments should be credited to.

For more information on how to create a BTCPay store, visit: https://coincharge.io/en/create-a-btcpay-store/

BTCPay Store > General Settings

When configuring the store settings, we focus on the settings that will be adjusted.
For detailed instructions, please refer to the BTCPay instructions at Coincharge: https://coincharge.io/en/set-up-btcpay-store/

Accept Bitcoin Payment

In order to be able to accept Bitcoin payments via our Lightning Paywall, you have to deposit your own Bitcoin wallet, to which the incoming payments will be credited.

To deposit your own Bitcoin wallet or create your own Bitcoin wallet, click on Setup.

BTCPay Store Wallet setup

BTCPay Store > General Settings > Wallet

For more information on how to create a Bitcoin Wallet, visit: https://coincharge.io/en/btcpay-wallet/#wallet_erstellen

Create a new BTCpay Wallet

If you already have a hardware or software wallet, this Bitcoin wallet can be used.

In our example we will use the internal BTCPay wallet, which we will create. For this we click on “Create a new wallet”.

Here we have the option to choose between a watch-only wallet and a hot wallet. We choose the Hot Wallet option at this point.

Setup a BTCPay Hot Wallet
Setup BTCPay Segwit Wallet

After the yellow warning, you have the option to select an address type. We recommend selecting “Segwit wrapped (compatible with old wallets)”.
With this setting, no owners with older Bitcoin wallets will be excluded and at the same time the cheaper transaction fees will be used.

Using the internal hot wallet presented here is a convenient and recommendable solution.

However, it must be pointed out that when using a hot wallet, there is a theoretical risk that someone can gain access to the Bitcoin.

Therefore, a larger amount should never be left on the internal Bitcoin wallet presented here.

Transfer the Bitcoin balance to an external Bitcoin wallet regularly.

If you would like assistance with this, please contact us and we will be happy to advise you.

Recovery Seed

Hot Wallet Recovery Seed

A seed consisting of 12 words is created.

Write down these 12 words and keep them safe. Those who know these words have access to Bitcoin. With these words, you can transfer your credit at any time.

If you are unable to access the BTCPay server at some point, you will still have full control over your Bitcoin.

Your BTCPay store is now set up to accept Bitcoin payments via the Lightning Paywall.

BTCPay Store > General Settings > Lightning

Accept Lightning Payment

To receive Lightning payments, you need your own Lightning Node. If you use a 3rd party BTCPay server, you will not see this option.

If you have your own BTCPay server, you have your own Lightning Node and can receive Lightning payments.

Accordingly, we click on the Setup button.

Lightning Paywall Btcpay server
Connect Lightning Node

We connect the BTCPay store to the Lightning Node to be used.

If we use the Lightning Node running on the same server as the BTCPay Server, we just need to click Save.

The Internal Node will then be used.

BTCPay Store > General Settings > Payment

Invoice Confirmed

In the General Settings we recommend to adjust the settings for Confirmations in the Payments section.

By default, a Bitcoin payment is considered successful if there is a confirmation.
Such a confirmation can take 10 minutes or even longer.
However, it is not reasonable for a reader to wait that long until the blog post is activated.

We therefore recommend that the settings are set to “ls unconfirmed“.

It can be almost ruled out with micro payments that misuse can occur here.
It is more important that the user receives his content faster and that the crediting of the merchant’s Bitcoin wallet can sometimes take a little longer.

Invoice confirmed

BTCPay Store > Checkout experience > Payment

On-Chain and Off-Chain Payment

When a Bitcoin payment is made, it is done via the blockchain and is therefore called an on-chain transaction.
A Bitcoin payment over the Lightning network is made over a separate layer and not on the blockchain. Therefore, Lightning payments are also referred to as off-chain transactions.

BTCPay Lightning Paywall Checkout

When the customer is shown the payment page, either Bitcoin or Lightning can be displayed as the default payment method.
Most users will have Bitcoin and therefore it is recommended to use BTC (On-Chain).
If you are targeting an audience that is familiar with Lightning payments, you should choose BTC (off-chain).

Then it can be determined from which amount Bitcoin or Lightning is offered to the customer.
For micro payments, the Bitcoin transaction fee via the blockchain may be too expensive for the customer. However, so that no customer is excluded, we set the amount low and accept Bitcoin payments (on-chain) from an amount equivalent to $0 (0.0 USD)

A Lightning payment (Off-Chain) is already possible for micro payments of less than 1 cent. Accordingly, Lightning payments should already be accepted from 1 Satoshi.

Since we want to accept both Bitcoin and Lightning payments as low as 1 Satoshi, we set the amount to Greater than 0.0 USD each.

BTCPay Store > Checkout experience > Payment

Furter Payment Settings

For the further settings we recommend to set the checkmarks in each case.

When the customer arrives at the payment page, a QR code is displayed. If he scans the CR code with a normal Bitcoin wallet, a Bitcoin payment (on-chain) is carried out. If the customer uses an Bitcoin wallet that supports Lightning payment (Off-Chain), a Lightning payment will be executed automatically.

Only in the setting, whether a Refund email address must be entered by the user, you should see in line with your offer.

If you activate this field, the user must enter an email address.

The special feature of the Lightning Paywall is that the user does not have to provide any personal data in order to read a paid article.

Therefore, it is recommended not to provide the mandatory email address.

further payment settings

In the Appearande section, the design of the payment page can be customized. Instructions on how to modify this payment page can be found at: https://coincharge.io/en/create-bitcoin-checkout-page-for-btcpay/

BTCPay Store > BTCPay Store ID

BTCPay Store ID

The BTCPay Store ID is required to display the billing summary within the WP Lightning Paywall plugin.

You can find the BTCPay Store ID in the store settings on your BTCPay server.

Go to General Settings and there you will find the option General after the configuration option of the different payment methods.

There you will find the information about the Store ID. These details from this field must be copied and pasted into the field of the same name in the WP Lightning Paywall plugin.

Your BTCPay store on the BTCPay server is thus fully set up to receive Bitcoin and Lightning payments through the WordPress Lightning paywall.

The operation of your own BTCPay Server including your own Lightning Node is possible from $10,- per month.

You can get a lot more information on how to run, set up and administer a BTCPay server on Coincharge’s website.

Also helpful information on how to operate a Lightning Node.

If you would like expert support, we are available to give you advice and can recommend an expert from our partner network if you wish.

After you have set up the BTCPay Store and installed the WP Lightning Paywall Plugin on WordPress, the Lightning Paywall needs to communicate with the BTCPay Store.

This is done by pairing the Lightning Paywall Plugin with the BTCpay Store.

The pairing of the Lightning Paywall with the BTCPay Store is explained in: “Pairing the Lightning Paywall with the BTCPay Store”

Further information

Documentation for publishers:

  • Set up WordPress Lightning Paywall
  • Setup BTCPay Store for Lightning Paywall
  • Pairing the Lightning Paywall with the BTCPay Store
  • Add WP Lightning Paywall to your blog post by:
    • Shortcode
    • Gutenberg
    • WPBakery (formerly Visual composer)
    • Elementor

Demo Page:

  • Pay-per-Post Blog Post Demo Page
  • Pay-per-View Video Demo Page
  • Pay-per-File (coming soon)
  • Donation (coming soon)

Help for readers and users:

  • How to pay for a blog post
  • What is a Lightning Wallet
    • BlueWallet
    • Breez Wallet
    • Muun Wallet
    • Phoenix Wallet
    • Wallet of Satoshi
  • What is Lightning
  • Lightning is Digital Cash
16 Comments
Share
0

You also might be interested in

pay-per-post Blog article
pay-per-post Blog article

Pay-per-Post Blog Post Demo Page

Apr 1, 2021

Pay-per-Post Blog Post Demo Page This is a demo page[...]

pay now lightning paywall
pay now lightning paywall

How to pay the Lightning Paywall

Feb 6, 2021

How to pay the Lightning Paywall After you have read[...]

Lightning Paywall shortcode
Lightning Paywall shortcode

Add WP Lightning Paywall by Shortcode

Apr 22, 2021

Add WP Lightning Paywall by Shortcode In this tutorial we[...]

16 Comments

Leave your reply.
  • sAtvIxOjcI
    · Reply

    April 29, 2021 at 10:45 AM

    business plan pet grooming service canada essay writing service do you agree that money can buy happiness essay maths dissertation help

  • cyjPWaUokO
    · Reply

    April 30, 2021 at 5:16 PM

    golf course job pay community service essay rubric os mapzone homework help help fractions math homework helper least common multiple

Leave a Reply

Your email is safe with us.
Cancel Reply

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Send Message

Contact Info

  • Coincharge by internetactive GmbH
  • Willemerstrasse 4, 63067 Offenbach, Germany
  • +49 69-34869328
  • lightning-paywall@coincharge.io
  • https://lightning-paywall.coincharge.io
Wordpress Lightning Paywall

Wordpress Lightning Paywall

Tipping me

[lnpw_tipping]

© 2023 — Wordpress Lightning Paywall for BTCPay Server by Coincharge

  • Home
Prev Next
  • English
  • German