Openbravo Issue Tracking System - POS2
View Issue Details
0057713POS2POSpublic2025-01-21 15:062025-02-19 16:35
asier_perez 
Triage Platform Conn 
normaltrivialalways
closedfixed 
5
 
 
No
0057713: [25Q1][UX] 'Cancel Checkout' button should be disabled and grayed out during the payment with credit card
In SCO, during the process of paying with credit card, the 'Cancel Checkout' button does not do anything apparently. Then the button should be disabled and grayed out.
Configuration to simulate credit card payments:
1) Log in to back office
2) Go to Event Subscription
3) Create a new record with the following values:
  - Event: Event Payment Provider
  - External System: (create a new External System with the following values)
    - Protocol: Touchpoint - Frontend
4) In the Touchpoint External System tab from the Event Subscription window, create a new record with the following values:
  - Touchpoint: (the touchpoint you are going to use)
  - URL: ws://localhost:8090/wslib/devpayment [^]
5) Go to Touchpoint Type window
6) Select the touchpoint type you are going to use, and open the Card record from the Payment Method tab
7) Create a new Payment Provider with the following values:
  - Provider: Event Payment Provider
8) Save the changes

Reproducing the issue
1) Open hardware manager
2) Log in POS
3) Go to SCO
4) Add a product
5) Proceed to payment and select the credit card payment method previously configured
6) The card payment simulation process will begin, and the 'Cancel Checkout' button is enabled and clickable when it shouldn't
No tags attached.
png sco.png (92,265) 2025-01-21 15:06
https://issues.openbravo.com/file_download.php?file_id=20768&type=bug
png
Issue History
2025-01-21 15:06asier_perezNew Issue
2025-01-21 15:06asier_perezAssigned To => Triage Platform Conn
2025-01-21 15:06asier_perezFile Added: sco.png
2025-01-21 15:06asier_perezTriggers an Emergency Pack => No
2025-02-18 09:29hgbotNote Added: 0175795
2025-02-18 09:29hgbotNote Added: 0175796
2025-02-18 10:20hgbotNote Added: 0175799
2025-02-19 16:35hgbotResolutionopen => fixed
2025-02-19 16:35hgbotStatusnew => closed
2025-02-19 16:35hgbotNote Added: 0175900
2025-02-19 16:35hgbotNote Added: 0175901

Notes
(0175795)
hgbot   
2025-02-18 09:29   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/54 [^]
(0175796)
hgbot   
2025-02-18 09:29   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/157 [^]
(0175799)
hgbot   
2025-02-18 10:20   
Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/157 [^]
(0175900)
hgbot   
2025-02-19 16:35   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.payment [^]
Changeset: fcf3e99755f36c5d4b58a0cbc77ad2384e08091d
Author: Ignacio De Andrés <ignacio.deandres@openbravo.com>
Date: 19-02-2025 15:35:45
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.payment/-/commit/fcf3e99755f36c5d4b58a0cbc77ad2384e08091d [^]

Fixes ISSUE-57713: Cancel checkout button will be disabled when processing a Payment Event

---
A web-jspack/org.openbravo.events.payment/src/user-interface/user-actions/SetEventsPaymentProcessStatusOngoing.js
M web-jspack/org.openbravo.events.payment/src/ob-init.js
M web/org.openbravo.events.payment/source/conn/processexecutor.js
---
(0175901)
hgbot   
2025-02-19 16:35   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/54 [^]