lnbits-legend/lnbits/extensions/offlineshop
Pavol Rusnak 3d0c66f0f6
remove unnecessary argument encoding from bytes.decode() and str.encode()
the encoding parameter defaults to utf-8, so it's not needed
2023-01-03 22:38:28 +01:00
..
static Tile size standard should be 128px 2023-01-03 20:05:44 +00:00
templates/offlineshop make format 2022-12-28 23:46:06 +01:00
__init__.py Fix/hotfix tpos 2 (#783) 2022-07-27 16:45:17 +02:00
config.json Updated extension card layout 2023-01-01 18:14:20 +00:00
crud.py allow for decimals in fiat unit 2022-07-27 22:49:23 +01:00
helpers.py make format everything (#743) 2022-07-16 14:23:03 +02:00
lnurl.py remove unnecessary argument encoding from bytes.decode() and str.encode() 2023-01-03 22:38:28 +01:00
migrations.py fix integer to bigint for extensions 2022-11-17 15:44:59 +01:00
models.py allow for decimals in fiat unit 2022-07-27 22:49:23 +01:00
README.md Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
views_api.py fix raise error on delete request 2022-11-17 14:47:52 +02:00
views.py make format everything (#743) 2022-07-16 14:23:03 +02:00
wordlists.py Merge pull request #979 from dasrecord/patch-1 2022-09-20 11:47:18 +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 customer chooses an item, scans the QR code, gets the description and price. After payment, the customer gets a confirmation code that the merchant can validate to be sure the payment was successful.

Customers 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 customer wallet - depending on wallet
    • set the item price, if you choose a fiat currency the bitcoin conversion will happen at the time customer 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 customers to report to merchant after a successful payment
    wordlist

    • Wordlist is the default option: after a successful payment the customer will receive a word from this list, sequentially. Starting in albatross as customers 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"