Skip to content

Gift cards always marked as redeemed #729

@FrontisFrank

Description

@FrontisFrank

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

16.0.0

Bug summary

When creating a new gift through the Umbraco backoffice the gift card is instantly set to redeemed. Also when reopening created gift cards the remaining amount is always set to 0.
I originally stumbled upon this issue when programmatically creating gift cards, later I found out the issue also exists when creating gift cards in the backoffice.

Specifics

Image Image

Steps to reproduce

  • Go to Umbraco > Commerce > Gift Cards
  • Create a gift card
  • Fill in the data for the gift cart
    • Either fill in or leave empty remaining amount, in both cases the bug occurs
    • Either fill in or leave empty expiry date, in both cases the bug occurs

Expected result / actual result

After creating a gift card the remaining amount must be equal to the original amount and not be reset to 0. After creating a gift card and setting Is Active to true the gift card must be redeemable.

Dependencies

No response


This item has been added to our backlog AB#54541

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions