bitrequest / bitrequest.github.io

Web Application for crypto payment requests
https://www.bitrequest.io
GNU Affero General Public License v3.0
46 stars 11 forks source link

Sometimes the XMR QR code generated is read as invalid by wallets (multiple tested), which is only fixed by rebooting the app. #12

Closed nanostos closed 2 months ago

nanostos commented 1 year ago

This is in the context of using Bitrequest for an XMR physical point of sale solution.

Amount is still detected accurately by wallet, just not address. Bitrequest was not set to use integrated address in this instance, and the view key was not added to allow payment detection. It occurred to me that I should have taken a picture of the QR code for troubleshooting. I know this is not very helpful until I can provide an example, sorry. I will add an update here when the error comes up again.

Steps were:

  1. Open request window
  2. Customer scans and pays successfully (amount and address correct)
  3. App is minimised (iOS tablet)
  4. App is opened for next customer, amount amended for new order
  5. QR code scanned shows 'invalid address' in multiple wallets tested, but still fills amount correctly
  6. App must be rebooted to fix
nanostos commented 1 year ago

The error came up again when I tried to pay at the cafe. Cashier opened app, which took a second to load up, then tapped the Monero logo. It took another second or two to load the exchange rate and then showed the request window with amount at zero. Cashier entered the fiat amount, which updated the QR code in real time. I scanned, but the wallet showed the address as invalid. I took this picture for troubleshooting: image

bitrequest commented 1 year ago

Strange, i am not able to reproduce this error unfortunately... This is the URI: undefined:undefined?tx_amount=0.072435

nanostos commented 1 year ago

This is definitely the biggest issue of the lot, since it prevents the customer from being able to pay. Is there any way I can give you more information to help solve this?

bitrequest commented 1 year ago

Should be fixed now! https://github.com/bitrequest/bitrequest.github.io/commit/c4d9e86c43b1519b04c40d14a6e7487a4201ed0d