getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
539 stars 194 forks source link

when using my own instance on lnme tip page/lightning address server alby web ln does not work. #3151

Closed Funman2 closed 6 months ago

Funman2 commented 6 months ago

Is there an existing issue for this?

Describe the bug

when opening https://lnme.alex71btc.com/ the web ln by alby extension does not get triggered , whereas ZBD app extension works and can open the invoice and pay, with Alby nothing happens.

Screenshots [optional]

No response

Steps To Reproduce

open https://lnme.alex71btc.com/ attempt a payment.

Expected behavior

alby should create an invoice.

Alby information

linux browser firefox extension

Device information

No response

Additional context

No response

Are you working on this?

None

reneaaron commented 6 months ago

Thanks for reporting! :raised_hands:

There is a bug in the upstream code you seem to be using. The provider first needs to be enabled before executing sendPayment according to the WebLN spec:

image

I've prepared an upstream fix here: https://github.com/bumi/lnme/pull/60

Funman2 commented 6 months ago

Thanks!