peakshift / makers.bolt.fun

https://makers.bolt.fun
GNU General Public License v3.0
31 stars 21 forks source link

Alby send payment not returning preimage of transaction #4

Closed MTG2000 closed 2 years ago

MTG2000 commented 2 years ago

Making a tip to a project consists of three steps: 1- Getting an invoice from the backend to the client 2- Confirming the invoice from client and sending it using a webln provider 3- sending the payment preimage to the backend after completion to confirm it.

But currently, it seems that paying invoices through alby provider is not returning a preimage variable, only "paymentHash" and "route"

bumi commented 2 years ago

this is a bug in Alby and will be fixed in the release coming in the next two days you could get around this by installing the latest development version: https://github.com/getAlby/lightning-browser-extension

bumi commented 2 years ago

would even be awesome if you could do that and confirm it works with the latest master

bumi commented 2 years ago

new release is already in the firefox store (so you should be good on firefox) chrome should follow soon.

MTG2000 commented 2 years ago

I tried it on firefox, but unfortunately, preimage is still returned as undefined :

image

( I installed the extension on firefox today, so it should be the latest version )

bumi commented 2 years ago

which node are you connected to?

MTG2000 commented 2 years ago

hmmm from where do I figure that out ?? you mean LNDHub ???

bumi commented 2 years ago

yes. Lndhub. thanks.

hmm.. can you check if this demo works for you: https://codepen.io/bumibumi/pen/GRMzbwe is the preimage shown there? probably not, but I just try to debug this.

MTG2000 commented 2 years ago

I'm not able to complete the transaction... image