Openbravo Issue Tracking System - POS2
View Issue Details
0048421POS2POSpublic2022-01-18 18:542022-01-24 12:34
timothee_catteeuw 
elara 
normalminorhave not tried
closedfixed 
5
 
 
guilleaer
No
0048421: JIRA 2472 - Coupon - After scanning coupon already used, no error message displayed
After calling the promotion API and receiving the messages (simulation mode), several kind of messages have to be displayed.

Urgent messages: Shown in white color and background red color
Opérateur messages: Shown in standards color and background
Coupon errors notifications: Shown in red color and background orange color

But in TAP version, coupon message error are not displayed anymore, just Urgent and Opérateur.
Go to webpos

Start a new ticket

Click on add coupon

fill in 1430000000004 as coupon number / add / Apply

Add at least 1 product in your basket

Pay → As you can see in console mode in you browser, the promotion system send this error to Webpos

[{"code":"1430000000004","errorCode":"F","errorDesc":"Le coupon a été utilisé le 13 oct. 2021 13:23:43, à XXXXXXX"}],"usedCoupons":[]}; line: (*)

But no error is displayed trough the related popin displayed.
I think it is a regression, it worked several weeks ago.
Display coupon message when there is an error (cf. spec linked in Jira)
No tags attached.
depends on backport 0048453TAP closed elara JIRA 2472 - Coupon - After scanning coupon already used, no error message displayed 
Issue History
2022-01-18 18:54timothee_catteeuwNew Issue
2022-01-18 18:54timothee_catteeuwAssigned To => Retail
2022-01-18 18:54timothee_catteeuwTriggers an Emergency Pack => No
2022-01-19 17:44elaraAssigned ToRetail => elara
2022-01-19 17:44elaraStatusnew => scheduled
2022-01-20 16:07guilleaerStatusscheduled => acknowledged
2022-01-20 16:07guilleaerStatusacknowledged => scheduled
2022-01-20 16:07guilleaerTarget VersionTAP =>
2022-01-20 16:08guilleaerTypedefect => backport
2022-01-20 16:08guilleaerTarget Version => TAP
2022-01-20 16:08guilleaerTypebackport => defect
2022-01-20 16:08guilleaerTarget VersionTAP =>
2022-01-20 16:10guilleaerNote Added: 0134417
2022-01-24 12:34guilleaerStatusscheduled => resolved
2022-01-24 12:34guilleaerResolutionopen => fixed
2022-01-24 12:34guilleaerReview Assigned To => guilleaer
2022-01-24 12:34guilleaerStatusresolved => closed

Notes
(0134417)
guilleaer   
2022-01-20 16:10   
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.comarch.orders/-/merge_requests/8 [^]