nostr:npub1utx00neqgqln72j22kej3ux7803c2k986henvvha4thuwfkper4s7r50e8 does nodeless support a redirect url that can put the invoice id as part of the url? Working on migrating over to nodeless for nostr:npub109pkdu0k0dau2cz063lzrgn7dl9l7lk8u7njcm2v8pk4pl2a9uzqf6u4w5

Previously was using redirect url of β€˜https://nokyctranslate.com/{InvoiceID}’ when creating a btcpayserver store invoice - can I do the same thing with nostr:npub1n0delesspp5qyp9sd6d4fql9g3s96k7g4yyvfmpdncpp542wvxzqksp427 ?

Or is there a better way to do it? Thanks - looking forward to making the switch to nodeless

Reply to this note

Please Login to reply.

Discussion

Yep just pass us a key 'redirectUrl' and it will work

Not sure if you understood my question - you create an invoice ID when you get my create invoice request. However in that request, in the redirect url I want to reference the invoice ID but I don’t have it at that time. Does that make sense?

protip: enclose the json request body in single quotes and you don’t have to escape all the double quotes

curl -XPOST -d β€˜{β€œfoo”:”bar”}’ https://example.com

Sorry I am just reading more closely now.

Actually no, we do not support that. (Right now)

Gotcha thanks, it’s not a deal breaker for me, just wanted to check because if you did support that then I would have to change only like 3 lines of code to migrate over πŸ˜„πŸ˜ŽπŸ€™

The way we do it with woocommerce is you create an order ID from your server then pass it to us as the metadata. Then you reference your internal order ID to give the receipt to the client