Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050843 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2022-11-10 16:34 | 2025-01-15 08:15 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050843: Possible to pay twice by clicking fast enough on OK button on payment | |||||||
Description | It is possible to pay twice the current ticket, and if the payment method is configured to also complete the ticket, this will result in two tickets being sent to backend, which results in Error while importing for duplicated ticket. Check the screenshot to understand where the double click may happen. | |||||||
Steps To Reproduce | 1. Login WebPOS with some payment method with payment provider, I've tested it with Credit Card - Mastercard payment provider. 2. Add a product to the ticket and go to Payments 3. Try to add credit card payment, then click 2 times in OK, check that it has been executed twice. | |||||||
Proposed Solution | Don't allow double clicking on this button. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0143418) hgbot (developer) 2022-11-10 16:37 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1355 [^] |
(0143529) hgbot (developer) 2022-11-14 12:32 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 5bcf9ccb1bd9ae54f1ff7d07072500de670e3a74 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 14-11-2022 11:58:58 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/5bcf9ccb1bd9ae54f1ff7d07072500de670e3a74 [^] Fixes ISSUE-50843: Possible to pay twice by clicking fast enough on OK button on payment Dialog on payments for confirmation for process provider allowed clicking on the OK or Cancel button twice, because there was no check that disabled it. Now it is only allowed to be clicked if the dialog has not been closed, so it is impossible to click it twice and process twice the resolve or close dialog functions. --- M web-jspack/org.openbravo.pos2/src/components/Payments/PaymentIntegration/ConfirmProcessProvider.jsx --- |
(0143532) hgbot (developer) 2022-11-14 12:32 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1355 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-11-10 16:34 | cberner | New Issue | |
2022-11-10 16:34 | cberner | Assigned To | => cberner |
2022-11-10 16:34 | cberner | File Added: cartes bancaires payment.gif | |
2022-11-10 16:34 | cberner | OBNetwork customer | => No |
2022-11-10 16:34 | cberner | Triggers an Emergency Pack | => No |
2022-11-10 16:37 | hgbot | Merge Request Status | => open |
2022-11-10 16:37 | hgbot | Note Added: 0143418 | |
2022-11-10 16:44 | guilleaer | Status | new => scheduled |
2022-11-14 11:56 | hgbot | Merge Request Status | open => approved |
2022-11-14 12:32 | hgbot | Resolution | open => fixed |
2022-11-14 12:32 | hgbot | Status | scheduled => closed |
2022-11-14 12:32 | hgbot | Fixed in Version | => 23Q1 |
2022-11-14 12:32 | hgbot | Note Added: 0143529 | |
2022-11-14 12:32 | hgbot | Note Added: 0143532 | |
2025-01-15 08:15 | tofflab | Note Added: 0174180 |
Copyright © 2000 - 2009 MantisBT Group |