Openbravo Issue Tracking System - POS2
View Issue Details
0050173POS2POSpublic2022-09-06 11:412023-04-08 17:32
charlotte_vasseur 
sreehari 
normalmajoralways
closedfixed 
5
 
 
2022-09-27
No
0050173: Error message lists payment methods not refundable as accepted
The error message pop-up should list only the payment methods which can really be refundable
In Openbravo backoffice for a channel touchpoint type (here : POS2SD VBS POS2 Terminal Type)

Configure payment methods :
- USA Cash and Voucher with 'Refundable' field check
- Cash with ‘Refundable' field uncheck and :
   - ’Allowed PMs for Refund' = 'All excluding defined
   - Payment method for Refund = USA Cash inactive
   - Payment method for Refund = Voucher active
(see Payment methods for refund excluded.png)

Log in POS to a touchpoint using the previous touchpoint type (here : VBS-2)
Create an order paid with payment method Cash
Select 'Verified returns' for the previous order and click on 'Refund' button
Click on Voucher payment method (excluded)
An error appears to indicate which payment methods for the refund are accepted (OK)
=> In the error pop-up, even the ones which are not refundables are listed (for exemple : Cash and Credit Card - see Error PM for refund in POS.png)

In the end, we can’t anyway click on Cash payment method because it is grayed but it is confusing
No tags attached.
png Payment methods for refund excluded.png (178,705) 2022-09-06 11:41
https://issues.openbravo.com/file_download.php?file_id=17490&type=bug
png

png Error PM for refund in POS.png (121,784) 2022-09-06 11:41
https://issues.openbravo.com/file_download.php?file_id=17491&type=bug
png
Issue History
2022-09-06 11:41charlotte_vasseurNew Issue
2022-09-06 11:41charlotte_vasseurAssigned To => Retail
2022-09-06 11:41charlotte_vasseurFile Added: Payment methods for refund excluded.png
2022-09-06 11:41charlotte_vasseurTriggers an Emergency Pack => No
2022-09-06 11:41charlotte_vasseurFile Added: Error PM for refund in POS.png
2022-09-06 16:40marvintmRegression date => 2022-09-27
2022-10-20 10:29rafarodaSeverityminor => major
2023-03-31 09:13guillermogilAssigned ToRetail => sreehari
2023-04-03 07:49sreehariStatusnew => scheduled
2023-04-04 12:52hgbotNote Added: 0148248
2023-04-04 13:08hgbotResolutionopen => fixed
2023-04-04 13:08hgbotStatusscheduled => closed
2023-04-04 13:08hgbotNote Added: 0148249
2023-04-04 13:08hgbotFixed in Version => RR23Q3
2023-04-04 13:08hgbotNote Added: 0148250
2023-04-08 17:32shrewdjayNote Added: 0148335

Notes
(0148248)
hgbot   
2023-04-04 12:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1124 [^]
(0148249)
hgbot   
2023-04-04 13:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1124 [^]
(0148250)
hgbot   
2023-04-04 13:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 6197858ebc5c43224cb667401cfb30b034e4d6f0
Author: Sreehari Venkataraman <sreehari@qualiantech.com>
Date: 04-04-2023 11:08:44
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/6197858ebc5c43224cb667401cfb30b034e4d6f0 [^]

Fixes ISSUE-50173: Fixed error message to list only refundable payment methods

---
M web-test/model/business-object/ticket/actions/AddPayment.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---
(0148335)
shrewdjay   
2023-04-08 17:32   
There are no flaws in my testing, so far.
https://coreball.co [^]