Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Table of Contents
stylenone

...

  • Duplicated offers in the list

 record-qa-bug.mkv

In my analysis, this is the root cause of this IREQ. When the user clicks on the second offer in the list, our logic is not prepared to handle a duplicate offer. Talking with Lopes da Costa, Valentina , we understand the following:

  • If the user redeems an offer and doesn’t use it, he should not be able to redeem the same offer again until he uses the already-redeemed one!

    • This will solve these duplication entries and also solve the bug at the same time!

      • When we developed the Promo code at checkout page X config offer type feature, I also added this functionality at the checkout. As the user is not seeing the offer list we should prevent duplication there. With this proposal we’ll keep the same behavior and consistency

...

PS: I tested, and this will not happen if the user changes between two different offers and then applies one or the other in sequence.

 Proposal of solution

Option 1: Validate if the promo code was already redeemed and throw error

...