Openbravo Issue Tracking System - POS2
View Issue Details
0054567POS2POSpublic2024-02-02 14:532024-02-02 14:53
Markel_Iruretagoyena 
Retail 
normalminoralways
newopen 
5
 
 
No
0054567: [24Q1] Error with Digital Coupons when trying to use different payment methods
If you first pay for part of your ticket using a payment method other than Digital Coupons, and then try to pay using Digital Coupons, you will get the following error: "Cannot read properties of undefined (read 'coupons')". However, if you first pay with Digital Coupons and then try to pay with another payment method, you will not get any error.
You need to have the Digital Coupons for Retail module installed to reproduce this problem. I also recommend that you install the sampledata for this module org.openbravo.retail.digitalcoupons.sampledata (it has all the necessary configuration for the module to work).

Actual steps:

1. Login in POS as vallblanca
2. select any product
3. Click on Pay button
4. Pay part of the ticket with any payment method but digital coupons
5. Try to pay the rest with digital coupons

Note that this action is not possible and you will get the error "Cannot read properties of undefined (reading 'coupons')".
No tags attached.
png digital_coupons_error.png (221,249) 2024-02-02 14:53
https://issues.openbravo.com/file_download.php?file_id=19433&type=bug
png
Issue History
2024-02-02 14:53Markel_IruretagoyenaNew Issue
2024-02-02 14:53Markel_IruretagoyenaAssigned To => Retail
2024-02-02 14:53Markel_IruretagoyenaFile Added: digital_coupons_error.png
2024-02-02 14:53Markel_IruretagoyenaTriggers an Emergency Pack => No

There are no notes attached to this issue.