You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URL was ok, it's the zapping comment that included a "nostr:..." (mentioning some user, different from the payment zap receiver) - so the generateTags() function added the mentioned user's pubkey as a p tag in addition to the receiver's p tag, and some lightning servers don't like zap events with more than one p tag. They are correct to do so - according to the protocol there should be only one p tag: https://github.com/nostr-protocol/nips/blob/master/57.md#appendix-d-lnurl-server-zap-request-validation .
See: #53
For Example, http://sendsats.lol/.well-known/lnurlp/jb55 gives:
Notice that the callback url contains an unescaped "@".
Right now,
NDKEvent.zap()
function fails to create a payment request.The text was updated successfully, but these errors were encountered: