I'm encountering a persistent issue when trying to refund any order in POS , and I'm hoping someone can provide guidance on resolving it.
Here's the error message I'm encountering:
TypeError: Cannot read properties of undefined (reading 'state')
at /web/assets/21989-73c7676/point_of_sale.assets.min.js:6085:130
at Array.filter (<anonymous>)
at PosLoyaltyTicketScreen._onDoRefund /web/assets/21989-73c7676/point_of_sale.assets.min.js:6085:51)
at PosLoyaltyTicketScreen._onDoRefund /web/assets/21989-73c7676/point_of_sale.assets.min.js:6130:147)
at ActionpadWidget.__trigger /web/assets/21983-6614216/web.assets_common.min.js:2157:104)
at ActionpadWidget.trigger/web/assets/21983-6614216/web.assets_common.min.js:2155:33)
at ActionpadWidget.hdlr2 (eval at compile /web/assets/21983-6614216/web.assets_common.min.js:2059:374), <anonymous>:25:25)
at Object.mainEventHandler /web/assets/21983-6614216/web.assets_common.min.js:2115:77)
at HTMLButtonElement.listener /web/assets/21983-6614216/web.assets_common.min.js:1282:15)This issue is happening from time to time and the only solution to complete the refund process is by clearing browsing data.
Thank you in advance for your assistance!