-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking on 'pending' does not prevent double payments #1672
Comments
I don't think this is the expected behavior in all cases. Sometimes I click on pending to see how long the attached wallet has been attempting payment. I agree with the general problem though. The current UI/UX allows double payments and it shouldn't. |
Copying my comment in #1674 that I should probably have added here:
Oh, interesting. If it's a fresh page load, don't you get the same information from the relative time? For example, |
That number doesn't update if I haven't navigated back to it. I'd probably still open anyway because I'd have to know/trust those numbers were correlated (and certainly the average stacker wouldn't know that). |
Maybe we should only stop attempting the wallets in the background but keep the same invoice. Once the QR code is closed, we can continue to attempt payment with the wallets again. |
There's no way to stop the wallets in the background generically, e.g. after I've send off an NWC |
Ahh, right |
Is there an existing issue for this?
Describe the bug
When an item is created and the wallet is not immediately able to pay it, we show
pending
next to it.When this is clicked, we show a QR code for the same invoice we're currently still attempting to pay in the background via the attached wallets.
This means it is possible that the invoice can get paid twice.
Screenshots
No response
Steps To Reproduce
Expected behavior
Clicking on
pending
cancels the previous invoice and shows a new invoice.Logs
No response
Device information
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: