MutinyWallet / mutiny-web

The frontend for Mutiny Wallet
https://app.mutinywallet.com
MIT License
174 stars 49 forks source link

lnurlwithdraw fails with BTCPay Server #1172

Closed bitcoinlizard closed 2 weeks ago

bitcoinlizard commented 3 weeks ago

When I scan a lnurlwithdraw QR code from BTCPay Mutiny shows an error message. These QRs can be claimed with other wallets including Blue Wallet and Zeus.

BTCPay Bech32: lightning:lnurl1dp68gurn8ghj7cn5vdcxz7fwvf5hgcm0d9hxc6t6v9exgtnwv46z7sj5gvh42j2vfe24ynp0wa5hg6rywfshwtmswqhny72dw4r9wv6nxes5z334vau4w3mjw5m5zkz32p885umwjqsg8n Error: Failed to call on the given LNURL.

BTCPay URI: lnurlw://btcpay.bitcoinlizard.net:443/BTC/UILNURL/withdraw/pp/2yMuFW3S6aAF5gyWGru7AXQPNzsn Error: Invalid payment request

These QR codes have already been claimed. I can provide you with redeemable lnurlwithdraw QR codes upon request.

benthecarman commented 2 weeks ago

It look like these 404, do you have an example of a working one

bitcoinlizard commented 2 weeks ago

101sats

I can claim this one with Blue Wallet. Here it is in text: lightning:lnurl1dp68gurn8ghj7cn5vdcxz7fwvf5hgcm0d9hxc6t6v9exgtnwv46z7sj5gvh42j2vfe24ynp0wa5hg6rywfshwtmswqhnyvmfw9dx7wt6feaxjjrpdve42kfngdpkv5zjffn5v7n5uhnu65

benthecarman commented 2 weeks ago

Looks like this is failing from CORS issues. This is on the btc pay server's side where it needs to send back a CORS header