we were having issues with emojis breaking things, double encoding it seemed to fix that for us 😂
nostr:npub1j0shgumvguvlsp38s49v4zm8algtt92cerkwyeagan9m6tnu256s2eg9a7 continuing conversation here
it looks like you guys are double URI encoding zap requests
```
const encodedEvent = encodeURIComponent(event);
const url = encodeURI(
`${callback}?amount=${sats2millisats(
amount
)}&nostr=${encodedEvent}&lnurl=${lnurl}`
);
```
even when double encoding the zap requests to you, I get back a 500 error
also, you are tagging the `e` of the event, but it's a parameterized replaceable event, so you should be using the `a` tag
Discussion
No replies yet.