Skip to content
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

[pay / PoS] amount changes inadvertently when editing memo, space causes error #4698

Open
openoms opened this issue Dec 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@openoms
Copy link
Collaborator

openoms commented Dec 28, 2024

Reported in private, confirmed on pay.blink.sv:

We have a merchant who adds his cash register ticket numbers to the Blink payments. But I just noticed, when we add a note (memo), and write numbers there, the amount to be paid gets changed as well!

The workaround is to first add the note/memo and then change the amount to be paid. But, if you then click on Note again and for example delete the Note, or just delete the last number of the note, then the total amount gets deleted.

to reproduce:
add note: Test
add amount: 101
open note, delete last t (then there is "Tes")
result: amount changes from 101 to 10 (the last 1 gets deleted)

reproduce first scenario:
add amount: 101
add note: 202
result: amount changes from 101 to 101,202

reproduce different variant:
add amount: 101
add note: 202
change note from 202 to 2022 (add a 2)
amount changes from 101 to 1012

reproduce variant with characters in the Note:
add amount: 101
add note: EH 3456 (with the space)
amount changes into: NaN and cannot be changed if you click on it!

@openoms openoms added the bug Something isn't working label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant