Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054087
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POS Hardware Managermajoralways2023-12-07 17:042024-01-11 13:12
ReportermalsasuaView Statuspublic 
Assigned Tofermin_gascon 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054087: Wynpay error when the ticket size is big

DescriptionIn 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]
Steps To Reproduce. create a ticket with 50 lines
. pay using wynpay -> error is returned
Proposed SolutionBy 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

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0158369)
hgbot (developer)
2023-12-19 17:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/24 [^]
(0159072)
hgbot (developer)
2024-01-10 16:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.payment/-/merge_requests/24 [^]
(0159073)
hgbot (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2023-12-07 17:04 malsasua New Issue
2023-12-07 17:04 malsasua Assigned To => Triage Platform Conn
2023-12-07 17:04 malsasua Triggers an Emergency Pack => No
2023-12-11 14:31 adrianromero Status new => acknowledged
2023-12-11 14:31 adrianromero Status acknowledged => scheduled
2023-12-11 14:37 adrianromero Proposed Solution updated
2023-12-14 13:32 fermin_gascon Assigned To Triage Platform Conn => fermin_gascon
2023-12-19 17:14 hgbot Note Added: 0158369
2024-01-03 11:11 fermin_gascon Status scheduled => resolved
2024-01-03 11:11 fermin_gascon Resolution open => fixed
2024-01-03 11:11 fermin_gascon Status resolved => closed
2024-01-10 16:39 hgbot Note Added: 0159072
2024-01-10 16:39 hgbot Note Added: 0159073
2024-01-11 13:12 hgbot Note Added: 0159126


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker