Let us know what’s happening, maybe we can help diagnose
Discussion
Great!
1. I grab the lnurlp info and get the callback url
2. I create the nostr event and sign it with the user's pubkey
3. I add the nostr querystring variable to the url along with the amount
4. I send it -- and it fails. Using this exact same process works with Alby and ln.tips and Zbd.
However, if I use the pubkey that's returning from the well-known/lnurlp call it works for WoS. But using that pubkey for all the other wallets fails.
Example:
This payment url fails (but the same nostr querystring works in all the other wallets I've tested):
livingroomofsatoshi.com/api/v1/lnurl/payreq/5fbddafb-63b1-43d8-8f2d-bbd343f51e3b?amount=50000&nostr=%7B%22pubkey%22%3A%22597b42de56a9e0c19ee2d0cde5797dd58d48ce8dd25c732b4c873af11161f9fd%22%2C%22kind%22%3A9734%2C%22tags%22%3A%5B%5B%22e%22%2C%223740184b635e221be0ad094e499af304cd990a64a57ab8b6ed41e86f35df1788%22%5D%2C%5B%22p%22%2C%22597b42de56a9e0c19ee2d0cde5797dd58d48ce8dd25c732b4c873af11161f9fd%22%5D%2C%5B%22relays%22%2C%22wss%3A%2F%2Fnostr-pub.semisol.dev%22%2C%22wss%3A%2F%2Fnostr-pub.wellorder.net%22%2C%22wss%3A%2F%2Fnostr.bitcoiner.social%22%2C%22wss%3A%2F%2Fnostr.onsats.org%22%2C%22wss%3A%2F%2Fnostr-verified.wellorder.net%22%2C%22wss%3A%2F%2Frelay.stoner.com%22%2C%22wss%3A%2F%2Fnostr-relay.wlvs.space%22%2C%22wss%3A%2F%2Fexpensive-relay.fiatjaf.com%22%2C%22wss%3A%2F%2Fbrb.io%22%2C%22wss%3A%2F%2Frelay.nostr.bg%22%2C%22wss%3A%2F%2Fnostr.v0l.io%22%2C%22wss%3A%2F%2Fstudent.chadpolytechnic.com%22%2C%22wss%3A%2F%2Feden.nostr.land%22%2C%22wss%3A%2F%2Fnostr.milou.lol%22%2C%22wss%3A%2F%2Fnostr.wine%22%2C%22wss%3A%2F%2Fpuravida.nostr.land%22%2C%22wss%3A%2F%2Fprivate.red.gb.net%22%2C%22wss%3A%2F%2Frelay.nostriches.org%22%2C%22wss%3A%2F%2Fbitcoiner.social%22%2C%22wss%3A%2F%2Frelay.nostrati.com%22%2C%22wss%3A%2F%2Fnostr.inosta.cc%22%2C%22wss%3A%2F%2Frelay.nostr.com.au%22%2C%22wss%3A%2F%2Fnostr.plebchain.org%22%2C%22wss%3A%2F%2Fnostr.decentony.com%22%2C%22wss%3A%2F%2Fatlas.nostr.land%22%2C%22wss%3A%2F%2Fnostr.gives.africa%22%2C%22wss%3A%2F%2Fnostr.ownscale.org%22%2C%22wss%3A%2F%2Fnostr.howtobitcoin.shop%22%2C%22wss%3A%2F%2Fnostr.bitcoinpuertori.co%22%2C%22wss%3A%2F%2Frelay.stonez.me%22%2C%22wss%3A%2F%2Frelay.orange-crush.com%22%2C%22wss%3A%2F%2Flightningrelay.com%22%5D%2C%5B%22amount%22%2C50000%5D%5D%2C%22content%22%3A%22Testing%20Zaps%22%2C%22created_at%22%3A1677212997%2C%22id%22%3A%22104053588238ed753fb7755b0abb9723eee520f88d1375e9e91a838c4c75c5fc%22%2C%22sig%22%3A%22a147b07656218f3edc1a822f796be81f04c33e5082a63f20f490b4c249e1516357eaac1349e1bcaecf014988f8dcb91a0840a1650d6f7c098b338c8b1f7264c2%22%7D
This one works (but fails in all the others):
livingroomofsatoshi.com/api/v1/lnurl/payreq/5fbddafb-63b1-43d8-8f2d-bbd343f51e3b?amount=50000&nostr=%7B%22pubkey%22%3A%22be1d89794bf92de5dd64c1e60f6a2c70c140abac9932418fee30c5c637fe9479%22%2C%22kind%22%3A9734%2C%22tags%22%3A%5B%5B%22e%22%2C%223740184b635e221be0ad094e499af304cd990a64a57ab8b6ed41e86f35df1788%22%5D%2C%5B%22p%22%2C%22597b42de56a9e0c19ee2d0cde5797dd58d48ce8dd25c732b4c873af11161f9fd%22%5D%2C%5B%22relays%22%2C%22wss%3A%2F%2Fnostr-pub.semisol.dev%22%2C%22wss%3A%2F%2Fnostr-pub.wellorder.net%22%2C%22wss%3A%2F%2Fnostr.bitcoiner.social%22%2C%22wss%3A%2F%2Fnostr.onsats.org%22%2C%22wss%3A%2F%2Fnostr-verified.wellorder.net%22%2C%22wss%3A%2F%2Frelay.stoner.com%22%2C%22wss%3A%2F%2Fnostr-relay.wlvs.space%22%2C%22wss%3A%2F%2Fexpensive-relay.fiatjaf.com%22%2C%22wss%3A%2F%2Fbrb.io%22%2C%22wss%3A%2F%2Frelay.nostr.bg%22%2C%22wss%3A%2F%2Fnostr.v0l.io%22%2C%22wss%3A%2F%2Fstudent.chadpolytechnic.com%22%2C%22wss%3A%2F%2Feden.nostr.land%22%2C%22wss%3A%2F%2Fnostr.milou.lol%22%2C%22wss%3A%2F%2Fnostr.wine%22%2C%22wss%3A%2F%2Fpuravida.nostr.land%22%2C%22wss%3A%2F%2Fprivate.red.gb.net%22%2C%22wss%3A%2F%2Frelay.nostriches.org%22%2C%22wss%3A%2F%2Fbitcoiner.social%22%2C%22wss%3A%2F%2Frelay.nostrati.com%22%2C%22wss%3A%2F%2Fnostr.inosta.cc%22%2C%22wss%3A%2F%2Frelay.nostr.com.au%22%2C%22wss%3A%2F%2Fnostr.plebchain.org%22%2C%22wss%3A%2F%2Fnostr.decentony.com%22%2C%22wss%3A%2F%2Fatlas.nostr.land%22%2C%22wss%3A%2F%2Fnostr.gives.africa%22%2C%22wss%3A%2F%2Fnostr.ownscale.org%22%2C%22wss%3A%2F%2Fnostr.howtobitcoin.shop%22%2C%22wss%3A%2F%2Fnostr.bitcoinpuertori.co%22%2C%22wss%3A%2F%2Frelay.stonez.me%22%2C%22wss%3A%2F%2Frelay.orange-crush.com%22%2C%22wss%3A%2F%2Flightningrelay.com%22%5D%2C%5B%22amount%22%2C50000%5D%5D%2C%22content%22%3A%22Testing%20Zaps%22%2C%22created_at%22%3A1677213073%2C%22id%22%3A%2279eee22ae5105f82b1df61f77487025a73a2ee0146dd485e925db8637c816d15%22%2C%22sig%22%3A%228c947d744a5c1046c6b068685120229be6772c66a3fec9cfeed4faa1e4367acdd6335864e621a584afe47ccf72d25f00193803d68c09461b75f4f7d4b9eb0a2b%22%7D
The only difference is the pubkey being used. WoS requires I use the one from the lnurlp call, but if I use that pubkey for any other wallet it fails.