qenta-cee / checkout-client-library

Client library used mainly by QENTA Checkout Page and Seamless plugins for payment processing
GNU General Public License v2.0
6 stars 2 forks source link

datastorage read response hasError broken #6

Closed mbretter closed 7 years ago

mbretter commented 8 years ago

datastorage read response hasError broken, const STATE_FAILURE has been redefined to 3 in WirecardCEE_QMore_DataStorage_Response_Read, while it is defined with a value of 1 in the abstract base class.

Therefore hasError() is not working as expected.

Solutuion redefine consts in WirecardCEE_QMore_DataStorage_Response_Read without redefining STATE_FAILURE

jakubpolomsky commented 7 years ago

Commit 96bb798 solves this issue.