[Koha-bugs] [Bug 28696] Point of sale: attempting to pay with the "Enter" key cause an overcharge in the database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 9 01:31:03 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28696
--- Comment #1 from Marie-Luce Laflamme <marie-luce.laflamme at inlibro.com> ---
Test plan
1. Have an item for $1 in Point of Sale
2. From the point of sale, add this item (1 time) to "sale", so the total
payable = $1 – (no need to modify quantity nor the item cost)
3. In the Collect payment section, click in the «Amount tendered box »,
leave the box empty
4. Press the Enter key
--> A «Required field » message should appear <--- failed payment 1
5. Add an amount in the amount tendered box
6. Press the Enter key
--> «Required field » message is still displayed <--- failed payment 2
7. Select the payment type
8. Press the Enter key
--> a «Required field » message <---- failed payment 3
9. Select the cash register
10. Click on Confirm
11. Print the receipt (see the yellow box at the top)
--> The receipt should confirm a $1 payment. Write down the transaction ID
from the receipt.
12. In a terminal, check the transaction ID in the database; check
"Accountlines" and "account_offsets"
select * from accountlines where timestamp =’date of the transaction aaaa-mm-dd
hh:mm:ss’
select * from account_offsets where credit_id='transaction ID from the receipt"
The item cost is charged each time you miss a field
(purchase = 3$ + 3 X $1 payment )
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list