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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048992
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Gift cards and gift vouchersmajoralways2022-04-06 17:012022-04-26 08:29
ReporteridiezView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date2022-04-25
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048992: INCORRECT BALANCE FOR GIFT CARD

DescriptionThe gift card is discounted in version 20q3

https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=YS-11 [^]
Steps To Reproduce- Chrome debug mode
- Limited network (slow 3G)
- Scan of the gift card
- Enter the product
- Click on "Checkout
- Refresh the page quickly
- Delete the ticket
- Scan of the gift card : amount deducted
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0136373)
idiez (reporter)
2022-04-06 17:05

The video link with steps:
https://drive.google.com/file/d/1B38UcJJQt2oZ_L9vk6QztCE3dizcBEYN/view?usp=sharing [^]
(0136736)
marvintm (manager)
2022-04-26 08:29

This problem is actually not possible to fix without completely rethinking the technical approach of the gift cards module, and specifically the part where we pre-consume the gift card balance before actually completing the ticket.

We did some workarounds in the past, to try to minimise the problem, like this one: https://issues.openbravo.com/view.php?id=41488 [^]

However, it is still fundamentally not possible for us to prevent the unwanted balance consumption when the following is true:
- The request is triggered to the backend (after the gift card payment is created) and reaches it.
- The user very quickly refreshes the application after this
- The ticket is then deleted

In that case, the backend only receives the initial request for balance consumption, but nothing after that, so we don't have any information that can be used to revert this balance consumption.

The only solution would be to remove this pre-consumption of the balance, which we currently don't want to do as this was requested to minimise chances of fraud. Therefore, we are changing this issue to Design Defect.

- Issue History
Date Modified Username Field Change
2022-04-06 17:01 idiez New Issue
2022-04-06 17:01 idiez Assigned To => Retail
2022-04-06 17:01 idiez Regression date => 2022-04-25
2022-04-06 17:01 idiez Triggers an Emergency Pack => No
2022-04-06 17:05 idiez Note Added: 0136373
2022-04-22 13:24 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-04-22 13:24 ranjith_qualiantech_com Status new => scheduled
2022-04-26 08:29 marvintm Note Added: 0136736
2022-04-26 08:29 marvintm Type defect => design defect
2022-04-26 08:29 marvintm Assigned To ranjith_qualiantech_com => Retail
2022-04-26 08:29 marvintm Status scheduled => acknowledged


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker