Gift card should generate standard commerce events

Created on 24 November 2020, about 4 years ago
Updated 2 November 2023, about 1 year ago

Problem/Motivation

There is typically a lot of customer/project specific business logic concerning the implementation of gift cards. Therefore it would be helpful if the gift card entity triggered commerce events over its life cycle.

Steps to reproduce

N/A

Proposed resolution

Make the gift card entity (separate issue will potentially be raised subsequently for the gift card transaction entity) use CommerceEntityStorage and generate typed GiftCard events. (See proposed patch attached)

Remaining tasks

Please kindly review the attached patch.

User interface changes

None.

API changes

None

Data model changes

None.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇭Switzerland tcrawford

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024