mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 22:58:46 +01:00
* readd lndgrpc * debug logging * Use TrackPaymentV2 * /v2/router/track * lnd_router_grpc * flag for blocking check * error handling * fix name * regtest lndgrpc * new test pipeline * fix env * check for description hash * remove unnecessary asserts for clarity * assume that description_hash is a hash already * no lock * description hashing in backend * restore bolt11.py * /api/v1/payments with hex of description * comment * refactor wallets * forgot eclair * fix lnpay * bytes directly * make format * mypy check * make format * remove old code * WIP status check * LND GRPC docs * restore cln to main * fix regtest * import * remove unused import * format * do not expect ok * check ok * delete comments |
||
---|---|---|
.. | ||
templates/paywall | ||
__init__.py | ||
config.json | ||
crud.py | ||
migrations.py | ||
models.py | ||
README.md | ||
views.py | ||
views_api.py |
Paywall
Hide content behind a paywall, a user has to pay some amount to access your hidden content
A Paywall is a way of restricting to content via a purchase or paid subscription. For example to read a determined blog post, or to continue reading further, to access a downloads area, etc...
Usage
- Create a paywall by clicking "NEW PAYWALL"
- Fill the options for your PAYWALL
- select the wallet
- set the link that will be unlocked after a successful payment
- give your paywall a Title
- an optional small description
- and set an amount a user must pay to access the hidden content. Note this is the minimum amount, a user can over pay if they wish
- if Remember payments is checked, a returning paying user won't have to pay again for the same content.
- You can then use your paywall link to secure your awesome content
- When a user wants to access your hidden content, he can use the minimum amount or increase and click the "Check icon" to generate an invoice, user will then be redirected to the content page