Testing Zaps (Kind 9735) on NostrGram. Zapping Alby and Ln.Tips wallets working fine. Wallet of Satoshi isn't working even though it's returning info saying Zaps *should* work. Are Zaps working for anyone else to WOS? I'm wondering if I'm missing something in the code.
Discussion
Just zapped you from WoS
Yeah Zaps to Alby are working fine. I switched to my Alby wallet because WOS won't Zap. Sending normal LN payments works fine, but the Zap (Kind 9735) isn't working for me.
Just zapped you with WoS from Amethyst. Worked, but I can't zap other user, it open the amount but then doesn't open WoS to zap.. strange
I can't create zap invoices for WOS user on amethyst, ever time I have to use damus for that. Works fine on other wallets
Seemed like Amethyst pushed update today. Now prompts to set default send amount when clicking on zap icon for first time.
After I set that, it works great
Just zapped you! WoS is working for me over here...
Thanks! I'm using my Alby wallet and I can Zap Alby wallets just fine (and Ln.tips). I can't Zap WOS though. I can send normal LN payments but not Zaps. 🤷
Ok.. i know how frustrating IT probs are.... im having issues getting verified, im almost embarrassed to admit that..lol
I finally figured out what WoS is doing differently and how to get around it. They replied and passed it on to their team so hopefully it gets resolved, but for the time being it's working!
Can you test ZBD?
Worked, but I had to remove the "amount" tag because it wouldn't accept it.
Cc #[3]
What are you sending as the amount tag? Should be the amount in millisatoshis as a string, right?
Can't zap WoS from snort.social or Amethyst, only from Nostros
Ok so it's not just me. Zaps to the other wallets work fine, just not WoS. I can get it to work but if I change it to work it breaks the others and the Zap gets logged under a different pubkey (the one associated with the wallet and not the user) so it doesn't end up listed in the Zaps list. I'll probably just have to code around it.
Let us know what’s happening, maybe we can help diagnose
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.
Maybe #[3] can explain what's going on?
Try to zap me