lnbits-legend/lnbits/extensions/offlineshop
2022-01-31 16:29:42 +00:00
..
static/js Revert "proposal to allow decimal valued items in fiat" 2021-10-25 18:42:36 +01:00
templates/offlineshop Fixed payment checking 2021-10-22 00:41:30 +01:00
__init__.py Chore, applied black 2021-11-26 05:58:20 +00:00
config.json Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
crud.py I want them to turn black 2021-10-17 18:33:29 +01:00
helpers.py Admin users can credit accounts 2022-01-31 16:29:42 +00:00
lnurl.py general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
migrations.py Revert "proposal to allow decimal valued items in fiat" 2021-10-25 18:42:36 +01:00
models.py I want them to turn black 2021-10-17 18:33:29 +01:00
README.md Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
views_api.py fix currencies list 2021-11-09 10:41:59 +00:00
views.py added manual payment check for offline shop 2021-11-03 12:33:29 +00:00
wordlists.py Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00

Offline Shop

Create QR codes for each product and display them on your store for receiving payments Offline

video tutorial offline shop

LNBits Offline Shop allows for merchants to receive Bitcoin payments while offline and without any electronic device.

Merchant will create items and associate a QR code (a LNURLp) with a price. He can then print the QR codes and display them on their shop. When a costumer chooses an item, scans the QR code, gets the description and price. After payment, the costumer gets a confirmation code that the merchant can validate to be sure the payment was successful.

Costumers must use an LNURL pay capable wallet.

Wallets supporting LNURL

Usage

  1. Entering the Offline shop extension you'll see an Items list, the Shop wallet and a Wordslist
    offline shop back office

  2. Begin by creating an item, click "ADD NEW ITEM"

    • set the item name and a small description
    • you can set an optional, preferably square image, that will show up on the costumer wallet - depending on wallet
    • set the item price, if you choose a fiat currency the bitcoin conversion will happen at the time costumer scans to pay
      add new item
  3. After creating some products, click on "PRINT QR CODES"
    print qr codes

  4. You'll see a QR code for each product in your LNBits Offline Shop with a title and price ready for printing
    qr codes sheet

  5. Place the printed QR codes on your shop, or at the fair stall, or have them as a menu style laminated sheet

  6. Choose what type of confirmation do you want costumers to report to merchant after a successful payment
    wordlist

    • Wordlist is the default option: after a successful payment the costumer will receive a word from this list, sequentially. Starting in albatross as costumers pay for the items they will get the next word in the list until zebra, then it starts at the top again. The list can be changed, for example if you think A-Z is a big list to track, you can use apple, banana, coconut
      totp authenticator
    • TOTP (time-based one time password) can be used instead. If you use Google Authenticator just scan the presented QR with the app and after a successful payment the user will get the password that you can check with GA
      disable confirmations
    • Nothing, disables the need for confirmation of payment, click the "DISABLE CONFIRMATION CODES"