stackernews / stacker.news

Internet communities that pay you Bitcoin
https://stacker.news
MIT License
421 stars 106 forks source link

Expired invoices can show as pending after expiration #1363

Open SouthKoreaLN opened 1 week ago

SouthKoreaLN commented 1 week ago

Is your feature request related to a problem? Please describe.

I think this was not an issue before with the custodial SN wallet as the invoice would mostly always get paid right away. Here, now that i use NWC, I did not notice that the post I submitted 19 minutes ago hadn't been paid yet. However, the invoice expired, so as far as I know, I have to create a new post.

Describe the solution you'd like It would be nice to just be able to request a new invoice.

Describe alternatives you've considered I can just make a new post of course, so it is not critical.

Additional context See the pending mention in both these screenshots.

Screenshot 2024-09-05 at 9 27 57 AM

and

Screenshot 2024-09-05 at 9 24 13 AM
SouthKoreaLN commented 1 week ago

Oh, my bad, turns out I just had to wait a few more minutes and then the usual Retry button appeared. So what I describe is just the edge case in between the moment the first invoice expires and the moment the Retry button appears... so I guess a quick fix would be to have the invoice expiration time match the moment the retry button appears...

huumn commented 1 week ago

hmmm that's a bug. If it expired, it shouldn't be pending.