Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049312Retail ModulesWeb POS Hardware Managerpublic2022-05-12 17:332022-05-13 13:35
adrianromero 
adrianromero 
normalminorhave not tried
closedfixed 
5
 
RR22Q3 
No
0049312: Wrong response properties of the Payments API simulator
Some properties set in the response of the Payments API simulator are wrong:

voidAction and processedAmount
Configure a payment integration that uses the Payments API linked to the Hardware Manager simulator: http://localhost:8090/process/devpayment [^]

Login in the POS and start the process of a payment of 3.30€. In this case it is simulated a partial payment of 2.00€ but a payment of 3.30€ is added. This is because of the processedAmount is not properly set in the simulator
 
If you try to void this payment. The simulator is supposed to display a confirmation message but it does not appear. This is because the voidAction is not properly set in the simulator.
After fixed, a payment of 3.30€ must create a partial payment of 2.00€ and print a partially accepted receipt for 2.00€. Also, if the cashier tries to void this payment, a confirmation message must appear.
No tags attached.
Issue History
2022-05-12 17:33adrianromeroNew Issue
2022-05-12 17:33adrianromeroAssigned To => adrianromero
2022-05-12 17:33adrianromeroTriggers an Emergency Pack => No
2022-05-12 17:39adrianromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24083#r24083
2022-05-12 17:41adrianromeroProposed Solution updated
2022-05-12 17:41adrianromeroSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24084#r24084
2022-05-12 17:41adrianromeroSummaryFixes response properties of the Payments API simulator => Wrong response properties of the Payments API simulator
2022-05-12 17:46hgbotNote Added: 0137231
2022-05-13 13:28hgbotResolutionopen => fixed
2022-05-13 13:28hgbotStatusnew => closed
2022-05-13 13:28hgbotFixed in Version => RR22Q3
2022-05-13 13:28hgbotNote Added: 0137264
2022-05-13 13:28hgbotNote Added: 0137265
2022-05-13 13:35hgbotNote Added: 0137266

Notes
(0137231)
hgbot   
2022-05-12 17:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/62 [^]
(0137264)
hgbot   
2022-05-13 13:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources [^]
Changeset: 77944b9d8a3b16e91399712cbf1c631ae127a5ec
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 13-05-2022 11:28:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/commit/77944b9d8a3b16e91399712cbf1c631ae127a5ec [^]

Fixes ISSUE-49312: Wrong response properties of the Payments API simulator

---
M project/src/com/openbravo/eventspayment/PaymentDev.java
---
(0137265)
hgbot   
2022-05-13 13:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager.sources/-/merge_requests/62 [^]
(0137266)
hgbot   
2022-05-13 13:35   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager [^]
Changeset: 3f980791d2c0281749acb4e340e86fd929f3adf2
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 13-05-2022 13:34:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.poshwmanager/-/commit/3f980791d2c0281749acb4e340e86fd929f3adf2 [^]

Fixes ISSUE-49312: Wrong response properties of the Payments API simulator

---
M bin/poshw.jar
M bin/rev.id
---