lnbits-legend/lnbits/extensions/satspay
2023-01-30 11:46:45 +00:00
..
static Tile size standard should be 128px 2023-01-03 20:05:44 +00:00
templates/satspay add pyright to the project (#1367) 2023-01-23 10:29:17 +01:00
__init__.py feat: extract utils to static/js 2022-07-28 15:34:36 +03:00
config.json Updated extension card layout 2023-01-01 18:14:20 +00:00
crud.py refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
helpers.py fix flake8 F601 (dictionary key repeated with different values) 2023-01-30 11:46:45 +00:00
migrations.py fix flake8 W291 (trailing whitespace) 2023-01-30 11:46:44 +00:00
models.py fix flake8 E712 (comparison-to-bool) 2023-01-30 11:46:44 +00:00
README.md Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
tasks.py refactor: use relative imports for own module 2023-01-10 09:44:52 +02:00
views.py refactor: use relative imports for own module 2023-01-10 09:44:52 +02:00
views_api.py fix: use relative import 2023-01-10 09:45:12 +02:00

SatsPay Server

Create onchain and LN charges. Includes webhooks!

Easilly create invoices that support Lightning Network and on-chain BTC payment.

  1. Create a "NEW CHARGE"
    new charge
  2. Fill out the invoice fields
    • set a descprition for the payment
    • the amount in sats
    • the time, in minutes, the invoice is valid for, after this period the invoice can't be payed
    • set a webhook that will get the transaction details after a successful payment
    • set to where the user should redirect after payment
    • set the text for the button that will show after payment (not setting this, will display "NONE" in the button)
    • select if you want onchain payment, LN payment or both
    • depending on what you select you'll have to choose the respective wallets where to receive your payment
      charge form
  3. The charge will appear on the Charges section
    charges
  4. Your customer/payee will get the payment page
    • they can choose to pay on LN
      offchain payment
    • or pay on chain
      onchain payment
  5. You can check the state of your charges in LNbits
    invoice state