PABLOF7z on Nostr: JoshR continuing conversation here it looks like you guys are double URI encoding zap ...
JoshR (npub1j0s…g9a7) 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
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