stack_wallet icon indicating copy to clipboard operation
stack_wallet copied to clipboard

Bug: Wallet doesn't support Monero payment links (thinks it's invalid when there's an amount included)

Open tohrxyz opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When I scan a QR code with XMR address and amount included, the wallet extracts only the address part and not the amount into the fields when sending a tx.

When I paste the payment link directly into the address link, it says it's invalid address.

Payment link example: monero:88FTtUb43DdUiRBxxxxx...?tx_amount=0.213xxxx

Expected Behavior

It should extract and pre-insert the amount from qr code, so that user doesn't need to type out the amount manually.

Also it should parse the payment link and paste appropriate parts into the fields.

Reproduce Steps

  1. scan a qr code with amount of xmr included

  2. only extracts address

  3. paste payment link into address field directly

  4. says it's invalid address

Environment

  • Operating system and version: iOS 17.1
  • Device platform and version: iPhone
  • Real device or emulator/simulator: real phone

Logs

No response

Further Information

No response

tohrxyz avatar Mar 27 '24 16:03 tohrxyz