Openbravo Issue Tracking System - POS2
View Issue Details
0057336POS2POSpublic2024-11-29 19:082024-12-20 14:17
sofidossant 
prakashmurugesan88 
normalmajoralways
closedfixed 
5
 
25Q1 
No
0057336: ERROR credit card in another currency with overpayment
If we define the credit card payment method with a currency different from the organization's currency, for example if the organization's currency is EUR, we put USD in credit card.
And the credit card overpayment is defined as 0, we cannot pay with the payment method, because it takes it as an overpayment.
1- Change the payment method credit card, currency to USD, and in overpayment 0
https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/?tabId=4D9F5E9CC0014A96861CEFB64BBF013B&recordId=DA57972154C04D0B9A399A06237C64AC [^]
2- Change the financial account the currency to USD, relation with the payment method.
3- Open the webpos2
4- do a order and try to pay with USD in card
You see the error with overpayment.
No tags attached.
depends on backport 005744324Q4.1 closed prakashmurugesan88 ERROR credit card in another currency with overpayment 
png Captura de pantalla -2024-11-29 15-07-05.png (211,442) 2024-11-29 19:08
https://issues.openbravo.com/file_download.php?file_id=20583&type=bug
png

? Videograbación 2024-11-29 15:08:50.mp4 (1,962,082) 2024-11-29 19:09
https://issues.openbravo.com/file_download.php?file_id=20584&type=bug
Issue History
2024-11-29 19:08sofidossantNew Issue
2024-11-29 19:08sofidossantAssigned To => Retail
2024-11-29 19:08sofidossantTriggers an Emergency Pack => No
2024-11-29 19:08sofidossantFile Added: Captura de pantalla -2024-11-29 15-07-05.png
2024-11-29 19:09sofidossantFile Added: Videograbación 2024-11-29 15:08:50.mp4
2024-11-29 19:10sofidossantNote Added: 0172781
2024-12-09 08:40migueldejuanaStatusnew => scheduled
2024-12-09 08:40migueldejuanaAssigned ToRetail => prakashmurugesan88
2024-12-10 07:28hgbotNote Added: 0173102
2024-12-12 14:53guillermogilStatusscheduled => acknowledged
2024-12-12 14:53guillermogilStatusacknowledged => scheduled
2024-12-15 12:29hgbotResolutionopen => fixed
2024-12-15 12:29hgbotStatusscheduled => closed
2024-12-15 12:29hgbotFixed in Version => 25Q1
2024-12-15 12:29hgbotNote Added: 0173309
2024-12-15 12:29hgbotNote Added: 0173310
2024-12-20 14:17ffourcadeIssue Monitored: ffourcade

Notes
(0172781)
sofidossant   
2024-11-29 19:10   
VIDEO https://drive.google.com/file/d/15cN8MWg4bk2PHuKIVCJjYbgqcFzzCAi3/view?usp=sharing [^]
(0173102)
hgbot   
2024-12-10 07:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3223 [^]
(0173309)
hgbot   
2024-12-15 12:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ddb88c278b740a1891e456e8580f4870d891ac42
Author: Prakash Murugesan <p.murugesan@external.orisha.com>
Date: 15-12-2024 11:25:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/ddb88c278b740a1891e456e8580f4870d891ac42 [^]

Fixes ISSUE-57336: Over payment calculation uses payment amount in default currency

---
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentIntegration/__test__/processPayment.test.js
M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentIntegration/processPayment.js
---
(0173310)
hgbot   
2024-12-15 12:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3223 [^]