Gift cards

Abstract

The gift card service is a single service method that to retrieve a gift card for a specific user in a specific store.

All configuration for the gift card subsystem can be found in the Sitecore.Commerce.GiftCards.config file, which contains the details for the entities, pipelines, and repositories that are used by the gift card system.

The default gift card entities for Commerce Connect have the premise that some, but not all, of the basic gift card information will be used across all commerce systems. There are two entities defined in the Connect system for gift cards, which you may choose to extend to suite your needs:

  • GiftCard: Used to represent a gift card owned by a customer, and contains information such as the current balance and original amount of the gift card.

  • GiftCardPaymentInfo: Enables the use of a gift card as a payment method by extending the PaymentInfo class and adding a property to store the amount to charge to the gift card.