dhk2 / peertube-plugin-lightning

Lightning wallet integration with peertube for monetization
GNU Affero General Public License v3.0
7 stars 0 forks source link

Feature Request: Allow Generation of Lightning Invoice QR #19

Closed ChanoSan closed 3 weeks ago

ChanoSan commented 10 months ago

Some viewers on a PeerTube instance don't have an account, or don't want to log in with one but may still wish to donate over LN. Similarly, some users may have their Lightning wallet on mobile but not on PC, or at least not integrated with whatever browser they're using on mobile.

In this scenario, it should still be possible to send Lightning payments by having the plugin generate an Invoice QR, which could be scanned to allow payments.

dhk2 commented 10 months ago

Feature has been there for quite a while as part of the lnurl support Something may have broken it, I'll check it out.

ChanoSan commented 10 months ago

Based on my tests, it functions as expected when I try it from an account logged in with Alby connected, but when I click the Zap button while logged out I only get a blank window:

Logged in

Logged Out

Video URL: https://peertube.anon-kenkai.com/w/pkoPZzr8x5n4CiFD9iP4VP

afaik I have LNURL enabled in plugin settings.

dhk2 commented 8 months ago

version 5.5.2 should resolve this

ChanoSan commented 8 months ago

Can confirm, works on my end after update. QR code is now displayed.