Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054087Retail ModulesWeb POS Hardware Managerpublic2023-12-07 17:042024-01-11 13:12
malsasua 
fermin_gascon 
highmajoralways
closedfixed 
5
 
 
No
0054087: Wynpay error when the ticket size is big
In a ticket with a lot of lines (in the customer case, more than 30 lines), if you try to pay using wynpay, error is returned:
onerror Resulting message size [507904] is too large for configured max of [500000]
. create a ticket with 50 lines
. pay using wynpay -> error is returned
By default the Hardware Manager has a websocket message limit set to 50000.
Payment requests sends the complete ticket model and it should be limited and sent just a summary.

For example it is included also the JSON string version of the ticket.

As a workaround the message limit can be increased to 100000 with this property:

 wsproxy.maxmessagesize = 100000

No tags attached.
Issue History
2023-12-07 17:04malsasuaNew Issue
2023-12-07 17:04malsasuaAssigned To => Triage Platform Conn
2023-12-07 17:04malsasuaTriggers an Emergency Pack => No
2023-12-11 14:31adrianromeroStatusnew => acknowledged
2023-12-11 14:31adrianromeroStatusacknowledged => scheduled
2023-12-11 14:37adrianromeroProposed Solution updated
2023-12-14 13:32fermin_gasconAssigned ToTriage Platform Conn => fermin_gascon
2023-12-19 17:14hgbotNote Added: 0158369
2024-01-03 11:11fermin_gasconStatusscheduled => resolved
2024-01-03 11:11fermin_gasconResolutionopen => fixed
2024-01-03 11:11fermin_gasconStatusresolved => closed
2024-01-10 16:39hgbotNote Added: 0159072
2024-01-10 16:39hgbotNote Added: 0159073
2024-01-11 13:12hgbotNote Added: 0159126

Notes
(0158369)
hgbot   
2023-12-19 17:14   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/24 [^]
(0159072)
hgbot   
2024-01-10 16:39   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/24 [^]
(0159073)
hgbot   
2024-01-10 16:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment [^]
Changeset: bf9c2cbadfe76078b97e6f004ed81533f7ef19e4
Author: Fermín Gascón <fermin.gascon@openbravo.com>
Date: 10-01-2024 15:39:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/commit/bf9c2cbadfe76078b97e6f004ed81533f7ef19e4 [^]

FIXED ISSUE-54087: Reduce receipt data in payment requests

---
M web/org.openbravo.events.payment/source/provider/paymentprovidergroup.js
---
(0159126)
hgbot   
2024-01-11 13:12   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment [^]
Changeset: 0f883dd432ed12ee1b3276b5dfb744a7bf850e5d
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 11-01-2024 13:12:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/commit/0f883dd432ed12ee1b3276b5dfb744a7bf850e5d [^]

Related ISSUE-54087: Reduce receipt data in payment requests
* getReceiptData() moved outside the main function. It was declared after invoked.

---
M web/org.openbravo.events.payment/source/provider/paymentprovidergroup.js
---