Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029589Retail ModulesGift cards and gift voucherspublic2015-04-14 18:102024-05-28 07:59
plujan 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0029589: [RR15Q2] It is possible to overpay a receipt using a Gift card
If the receipt amount *after* taxes is bigger than the available amount in the Gift card, I can overpay the receipt.
Scenario 1 (Expected behaviour where overpayment is not allowed): See "[GCVb070] Using Gift card, overpaying the order using Fixed amount option" test case at Testlink https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-7068 [^]

Alternative scenario where overpayment is possible (it assumes a 100€ Gift Card with ID=123 already exist):

Login to POS terminal, go to the login URL: http://{server}/{context}/web/org.openbravo.retail.posterminal/?VBS-1 [^]

Enter login credentials:
"Username": vallblanca
"Password": openbravo
The POS window will appear.

To add product click “Browse” button
Then select “Backpacks & Travel” category
And from the product list select
Product: Base camp duffel 70L
Qty: 1
And verify the below details

Product: Base camp duffel 70L
Quantity: 1
Unit Price: 89.50
Line amount: 89.50
Tax amount: 18.80
Total amount: 108.30

To complete the receipt tap on the “Total” amount
Verify “108.30 € remaining to pay” text appears on the right hand side of the terminal, along with “Ok” button
Then select payment method “Gift Card”
From numeric keypad, enter “100” and press enter key
A pop up asking for Gift card id is shown. Enter 123.

The Gift card is added. Since "100" is added prior taxes calculation, the total amount turns to be "12.70 Cash"
If overpayment is not allowed, the verification should be done with the total amount *prior* taxes, not *after* them.
No tags attached.
Issue History
2015-04-14 18:10plujanNew Issue
2015-04-14 18:10plujanAssigned To => Retail
2015-04-14 18:10plujanRegression level => Packaging and release
2015-04-14 18:10plujanTriggers an Emergency Pack => No
2024-05-28 07:59guillermogilRegression levelPackaging and release =>

There are no notes attached to this issue.