[Koha-bugs] [Bug 28696] New: 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:24:59 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28696

            Bug ID: 28696
           Summary: Point of sale: attempting to pay with the "Enter" key
                    cause an overcharge in the database
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Fines and fees
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: marie-luce.laflamme at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

This problem occurs if you forget to fill in the collect payment fields, then
press on the “Enter” key.

When a message Required field shows up, the payment will not be saved correctly
in the database. Instead, Koha secretly charges the failed payment in the
database before confirming the real payment on the web interface.

E.g . If the item cost = $1 and you press 3 times «Enter» with missing payment
fields, the web interface and receipt confirm a $1 payment, while the database
register a $3 payment (3 X $1 ) for the same transaction id.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list