maybe add an action.. "No route found. Try again." ?

Reply to this note

Please Login to reply.

Discussion

You can but normally all routes have been exhausted

what does that mean in practice, in simple words

There's no way to make the payment

new invoice must be made for this payment?

No, likely need channels

“Could not pay the invoice. There is no route, or it has already been paid.”

I can’t game out every scenario, but I’m sure you guys can come up with some clearer general error messaging.

We give an error message of exactly what happened, I'm not sure how it can be more clear.

The error message says “Failed to find route” which is simple but not user-friendly because it doesn’t address the problem they are having, so they comment under the invoice, “It didn’t work.” and this has the potential to discourage people and make them think Lightning doesn’t work well, because they don’t understand what went wrong. A more descriptive message would go a long way here. It helps to put yourself in the shoes of the newest of users who don’t know what routes are, they just see something that looks broken.

We could put "failed to pay invoice" but that's the same thing with less info. The alternative you suggested is just wrong, not sure if there is a better alternative.

What was wrong, the phrasing? Help me understand because as a user it seems very opaque.

I understand, but curious as to why it couldn’t say:

“Could not pay the invoice. There is no route, or it may have been paid.”

That way you’re not giving an absolute. Just thinking of user experience.

I’m just trying to solve this UX problem:

nostr:note10lvqwsw8wkf5ev8s6hzj53esyg8ewyuw3e3jpl2aqt9dvxyurluqjlml5p

I think you're just hung up on this issue of someone else paying the invoice which shouldn't happen.

What’s the solution, then? Paid invoices in notes still appear payable, and when the second person tries to pay it, they often get confused and gripe about it.

Think of it like a railroad. There is no route (channel) available connecting A to Z