Open huumn opened 1 month ago
This is caused by the wallet failing too slowly and the qr code not showing due to the 1000 ms timeout here: https://github.com/stackernews/stacker.news/blob/master/components/use-paid-mutation.js#L40
Even if we increase the timeout, there might be multiple wallets failing, so it will be hard to have a reliable behavior.
IMO a possible solution is to use alwaysShowQROnFailure
when pressing the retry button and show a modal that lets the user know the payment is happening, with a button to cancel, so we avoid the 'qr code showing up during the navigation' issue.
If there are attached wallets, I think we'll want to retry in the background as opposed to a QR popping up.
For whatever reason my sending wallet is failing on the Wi-Fi I’m using and when retrying I can’t fallback to a qr.