webimint-rs icon indicating copy to clipboard operation
webimint-rs copied to clipboard

Scanning animated ecash qr codes does not work

Open f321x opened this issue 1 year ago • 2 comments

When trying to scan animated ecash qr codes (generated in fedi with the offline send function) it stops after some qr iterations and shows the error "✗ Failed to redeem e-cash: Client stopped" and pastes only partial ecash in the input field, padded with wrong characters like this:

AAAHAAaLkzQ6XwGMzXjetfptTiBgDhiAG9Ur99evCu5EIPrfdz9t7k9ROTv8Vy5taF/rAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=

Pasting the same ecash manually works fine. May related to https://github.com/elsirion/webimint-rs/issues/71

f321x avatar Sep 10 '24 13:09 f321x

Interesting, the error should not occur, do you know if the client actually stopped? E.g. were you able to generate an invoice after without reloading the page? Scanning animated QR codes just isn't supported rn, you are totally correct it's related to #71.

elsirion avatar Sep 16 '24 13:09 elsirion

Tested, the client does not stop after the scanning fails, can still generate invoices etc.

f321x avatar Sep 16 '24 16:09 f321x