Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052065Retail ModulesSelfcheckoutpublic2023-04-05 10:142023-04-18 11:23
maite 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
 
No
0052065: Rounding Issue in SCO when Payment Provider is Configured for Cash payment
same problem of issue https://issues.openbravo.com/view.php?id=51431 [^] is affecting SCO
Configuration:
1. Create Payment Method for Rounding in channel touch point type window
2. Link the rounding payment method under the Payment Rounding Tab to the cash payment method that we use in POS. The payment method need to be linked to payment provider.
3. Add payment method created in step 1 and step2 in Channel TouchPoint window - Payment Type Tab

Transaction:
3. In SCO mode, add a product that has a decimal value and select the payment method which we configured with the payment provider and check in the popup the amount is not Rounded. It rounds the amount after the transaction but the expected result to be rounded before transaction.
No tags attached.
related to design defect 0051431 closed ranjith_qualiantech_com Rounding Issue when Payment Provider is Configured 
Issue History
2023-04-05 10:14maiteNew Issue
2023-04-05 10:14maiteAssigned To => Retail
2023-04-05 10:14maiteTriggers an Emergency Pack => No
2023-04-05 10:14maiteRelationship addedrelated to 0051431
2023-04-05 10:24guillermogilAssigned ToRetail => ranjith_qualiantech_com
2023-04-05 10:24guillermogilTypedefect => design defect
2023-04-09 09:58ranjith_qualiantech_comStatusnew => scheduled
2023-04-10 07:38hgbotNote Added: 0148343
2023-04-18 11:23hgbotResolutionopen => fixed
2023-04-18 11:23hgbotStatusscheduled => closed
2023-04-18 11:23hgbotNote Added: 0148526
2023-04-18 11:23hgbotNote Added: 0148527

Notes
(0148343)
hgbot   
2023-04-10 07:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/merge_requests/40 [^]
(0148526)
hgbot   
2023-04-18 11:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout [^]
Changeset: 90b53fe092330322bb2ca2e5626ea833cf295249
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 10-04-2023 10:55:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/commit/90b53fe092330322bb2ca2e5626ea833cf295249 [^]

Fixed ISSUE-52065: Rounding payment should be added when paying with payment provider
* In SCO, When paying receipt with payment provider, rounding amount should be
  excluded from payment amount when processing transaction
* For MockPaymentProvider, processPayment response of property 'MASTER' is replaced with '01'

---
M src/org/openbravo/retail/selfcheckout/SCOInitialValidation.java
M src/org/openbravo/retail/selfcheckout/eventHandler/PaymentTypeEventHandler.java
M web/org.openbravo.retail.selfcheckout/source/components/providerGroupPanel.js
M web/org.openbravo.retail.selfcheckout/source/panels/mockProviderPanel.js
---
(0148527)
hgbot   
2023-04-18 11:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.selfcheckout/-/merge_requests/40 [^]