Openbravo Issue Tracking System - POS2
View Issue Details
0057443POS2POSpublic2024-11-29 19:082024-12-17 14:26
sofidossant 
prakashmurugesan88 
normalmajoralways
closedfixed 
5
 
24Q4.124Q4.1 
No
0057443: 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.
blocks defect 0057336 closed prakashmurugesan88 ERROR credit card in another currency with overpayment 
Issue History
2024-12-12 14:53guillermogilTypedefect => backport
2024-12-12 14:53guillermogilTarget Version => 24Q4.1
2024-12-16 11:34prakashmurugesan88Note Added: 0173327
2024-12-17 14:18prakashmurugesan88Note Deleted: 0173327
2024-12-17 14:18prakashmurugesan88Note Added: 0173389
2024-12-17 14:25hgbotResolutionopen => fixed
2024-12-17 14:25hgbotStatusscheduled => resolved
2024-12-17 14:25hgbotFixed in Version => 24Q4.1
2024-12-17 14:25hgbotNote Added: 0173390
2024-12-17 14:26guillermogilStatusresolved => closed

Notes
(0173389)
prakashmurugesan88   
2024-12-17 14:18   
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3253 [^]
(0173390)
hgbot   
2024-12-17 14:25   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: eacd156c8df6a370946acd48a6bed111ec0ce374
Author: Prakash Murugesan <p.murugesan@external.orisha.com>
Date: 17-12-2024 18:40:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/eacd156c8df6a370946acd48a6bed111ec0ce374 [^]

Fixes ISSUE-57443: 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
---