Versions Compared

Key

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

Coming next release

AreaDescription
Import

ProfileId filled when store number is present in imported file (RTC-32581)

"ProfileId" field is no longer taken into account during importing gift cards. ProfileId is filled according to the store number field.

Issue gift card

Fix: Issue multiple gift cards in management fails when number starts with zero (RTC-33061)

Issuing multiple gift cards in management, for all numbers (including leading zeros) works correctly.

Multi-country

Multi-country: Gift card image text (RTC-32312)

The text on gift card's image is displayed in the culture, which is based on the profile's country code.
If profile's country code is empty or not supported (e.g. PL), then the image is displayed in the culture equal to the user's language.


Multi-country: GiftCard service and EmailTemplateDistributor job (RTC-32296)

The text on giftcard's image is displayed in the culture, which is based on the profile's country code.
If profile's country code is empty or not supported (e.g. PL), then the image is displayed in the culture equal to the value of the parameter "Gift card image language".

The changes are applied in:

  • EmailTemplateDistributor job
  • Service requests:
    • /api/v2/GiftCard/giftcardNumber/img
    • /api/v2/GiftCard/image/{imageId/preview


Multi-country: Currency code based on store country when importing gift cards (RTC-32305)

"ProfileId" and "CurrencyCode" fields are not validated and taken into account during import of gift cards. "ProfileId" is filled, based on the profile of the defined store.  "CurrencyCode" is filled based on country code of the profile related to the store. If profile's country code related to the store is NULL or the country code is not supported, then currency code is determined by "DefaultGiftCardCulture" parameter.


Multi-country: Currency based on profile country (RTC-32307)

Gift Cards' currency is dependent on profile country code during issuing gift cards in the management and in the service as well. When issuing gift card using the service, then currency code set in the request is no longer considered. For issuing transactions, if profile related to the store has country code defined, then currency code is assigned on this basis. If profile's country code related to the store is NULL or the country code is not supported, then currency code is determined by "DefaultGiftCardCulture" parameter.


...

Released 27.06.2023

AreaDescription
Email messages

Fix for line breaks in emails (RTC-32066)

The personal messages with line breaks are properly displayed in emails.

Email templates

Improvements to gift card mails (RTC-31580)

When gift card is being sent by an e-mail, then in the received message, the amount field contains two decimals and date field shows only the date (without time).

System

Multi-country: Import of countries (RTC-32293)

Store groups' country codes are imported from Store Service to the GiftCard Service.


Technology framework (RTC-29202)

GiftCardService is migrated to .NET 6.


...

Release 26.05.2023

AreaDescription
Images

Fix for default image (RTC-32118)

'Default' image option has been removed from issue digital gift cards view.

System

Fix for pin code (RTC-32151)

Pin codes equal to null are allowed for Balance, Recharge and Redeem requests when the apps is verified.
In other cases requests are failed and 'Pin Code' must not be empty. message is logged.


Health check (RTC-27329)

By using a  health check endpoint in our Gift Card API you can check if GiftCard Management is available.


...

Release 17.05.2023

Issue single "digital" gift card

(RTC-26326)

A single "digital" gift card can be issued in Gift Card Management, and the gift card will then be sent to the receiver.

Send gift cards with personal message

(RTC-26334)

Gift Card API can be used for sending personal messages in e-mail and SMS distributions in issue requests.

Improvement

AreaDescription
New gift card

Issue of single/multiple "physical" gift card (RTC-29780)

Minor improvements to the "New Gift Card" view:

  • Default number of gift cards - single gift card is now set as default.
  • Empty space was removed in the gift card number field in single issue.
  • Text in success notification was improved.
  • When some validation error occurs, user is no longer moved to the gift cards' grid.

...

LocationComment
Klarna Gateway
Gift Card Service

Extend transaction patch method (RTC-24201)

GiftCardService: patch transaction update request's response has been extended with giftcard details.
KlarnaGateway: discount_confirm request's response has been extended with appropriate giftcard data basing on patch transaction update request's response from GiftCardService.

Gift Card Service

Errors logged twice in responses (RTC-24466)

Giftcard service was logging duplicated errors in responses for some cases in connection to validation of the path of parameters giftCardNumber, startingGiftCardNumber or giftCardsCount. Developer removed duplicate validation.

Gift Card Service API

Multiple issue method route change (RTC-25286)

Updated url of requests and also request body. 

Expand
titleTechnical

The url of the multiple issue request has been changed:

From:

/api/v2/GiftCard/{startingGiftCardNumber}/{giftCardCount}/transaction/issue

To:

/api/v2/GiftCard/transaction/issueMultiple

Also request's body has been changed - "startingGiftCardNumber" and "giftCardsCount" fields have been added, the rest of fields is stored in "giftCardDetails":

{
  "startingGiftCardNumber": "string",
  "giftCardsCount": 0,
  "giftCardDetails": {
    "validFromUtc": "2022-08-29T05:33:04.426Z",
    "validToUtc": "2022-08-29T05:33:04.426Z",
    "imageId": "string",
    "typeNumber": 0,
    "typeName": "string",
    "authorizeForMinutes": 0,
    "owner": {
      "phoneNumber": "string",
      "emailAddress": "string",
      "countryCode": "string",
      "pinCode": "string"
    },
    "amount": {
      "amount": 0,
      "currencyCode": "string"
    },
    "options": {
      "autogeneratePinCode": true,
      "authorizeAndCommitAtOnce": true,
      "preloaded": true,
      "forceWhenExpired": true
    },
    "origin": {
      "storeNumber": 0,
      "cashregisterNumber": "string",
      "cashierNumber": "string",
      "userId": "string",
      "receiptId": "string",
      "source": "string"
    },
    "distributionOptions": {
      "delayUntilUtc": "2022-08-29T05:33:04.426Z"
    }
  }
}


Gift Card Service
Import 

GiftCard Service/Import from SVS (RTC-25672)

ExpiresAtUtc and PinCode fields are not cleared while cancelling issue transactions of the preloaded giftcards.

Gift Card Service

GiftcardService Performance (RTC-25709)

Added new indexes in database to improve grid performances. 


...

 

Support issuing multiple gift cards

(RTC-7642)

Giftcard service has been extended with three requests:

...

LocationComment
Gift Card Module

Finnish and Austrian Cultures (RTC-24131)

Finnish ("fi-FI") and Austrian ( "de-AT") cultures are supported in email distribution jobs and in giftcard service.
Images in giftcard management still support Nowegian, Swedish and English cultures only.


...

 

No currency validation when issuing a gift card

(RTC-20709)

New validation for currency code during issuing preoloaded gift card with support for currency code in lower case. 
This also affects saving import files into the database. 

...

LocationComment
Images

Edit validity period (RTC-21182)
Adding possibility to rename or edit validity period of temporary image from GiftCard management. 
User can upload temporary image and modify it's name and date and save changes without uploading new image. 

Image centering (RTC-19702)
Image on a gift card is centered and isn't out of the screen on a mobile device.
User don't have to scroll sideways in horizontal mode on a mobile view.

Image cleanup (RTC-18861)
Image cleanup job (name of job: ImageCleaner) for removal of unused images in Azure Storage and BD.
Unused images or images deleted from the Management level are removed from the database and Azure Storage after ImageCleaner job execution.

Gift Card Module

Handle euro currency on gift card image (RTC-23995)
The images for gift cards in euro currency are properly displaying "€" sign.
When an image has English culture, then the euro currency sign is displayed to the left of the gift card's amount.
When an image has Norwegian or Swedish culture, then the kroner currency sign is displayed to the right of the gift card's amount.

User roles (RTC-19465)
Providing compatibility of user roles view and description for GiftCardService in line with other cloud modules. Dividing them on category and sections. 

Selecting section causes ticking roles below it. Additionally, depending roles are ticked automatically. 



...

 

Email templates

(RTC-22947)

Email templates NewGiftCard, RegiveGiftCard and RemindPIN can be registered in MessageDistributionService in GiftcardManagement in general settings. The user needs to press 'Register templates in MDS' in this purpose.
By default one template of each type NewGiftCard, RegiveGiftCard and RemindPIN is created. Those cannot be assigned to any profile.
New templates can be specified for a specific profiles by pressing 'Add new template' button and setting up profile number.

Enable and disable distribution types

(RTC-21021)

It is possible to enable/disable distribution of 3 types (Recharge, Regive and Issue) when working with Gift Card Service. Applies only to service. No changes in distributions in management. By default values of parameters IssueDistributionEnabled, ReGiveDistributionEnabled, RechargeDistributionEnabled are set to false. To activate distribution the value of the parameters has to be changed to true.

New Email Distributor job for distributing emails with templates

(RTC-21020)

EmailTemplateDistributor has been added to the GiftCardServiceIntegration package. It is responsible for distributing emails with usage of templates and new image resolver.
To use this job, email templates needs to be set up and registered in MessageDistributionService, check related story Define base for the template used in MDS.

Start using new image resolver in gift card details view

(RTC-19375)

Giftcard images are resolved in the new flow. Profiles have dedicated images - ordinary (basic) image for profile or proper ones specified for time period only.

...

LocationComment
Transactions

Issue gift card (RTC-19374)

When issuing new giftcard, the profileId is properly assigned to this giftcard basing on the store number from the issue request.

GiftCardService

The performance of the cancel/update/commit requests has been improved (RTC-22229)

Index on TransactionId in [CloudScrip].[Transaction] table has been added.


...

 

Klarna Gateway

(RTC-20554)

Added support for the event type discount_delete. This request is responsible for deleting all the data regarding given order_id. The giftcard service is called to cancel all linked redeemed transactions.
For more information see release notes of [Klarna integration]: discount_request.

GiftCardServiceJanitorJob

(RTC-20491)

A database fixing job, running once a day, has been added.

Transactions grid

(RTC-19297)

Grid with all transactions has been added. Separated permission is needed to access it. Grid contains data from all columns from Transactions DB table (except GiftCardId and table primary key)

...

LocationComment
Gift card imports

Validation on Import (RTC-22167)
Validation of files in importing has been changed to support all csv files, not only excel/csv files.

Transactions

ReGive action (RTC-22137)
When performing a ReGive action - distribution is created for the new owner.


...

 

Service has been extended for EG Klarna Gateway API

(RTC-20549)

AuthorizeForMinutes propery has been added to issue/recharge/redeem methods- it allows to time bound a transaction.
Optional Source property has been added to TransactionOrigin model in all related requests.
An Update transaction method has been added - that allows to remove or extend time period from issue/recharge/redeem transactions.
Outdated transactions are cancelled by added cloud LIP job - AuthorizationCanceler.

Staging cleanup job
(RTC-20387)

Added job to cleanup staging tables rows older than configured value.

...

LocationComment
API

Fix on Owner and ValidDate in ReGive and ExtendValidity methods (RTC-21000)
When performing ReGive action on giftcard proper owner values (OldOwnerClaim and NewOwnerClain) are saved in transaction details.
When using ExtendValidity method proper ValidDate values (OldValidUtc and NewValidUtc) are saved in transaction details.

Gift card imports

Default empty value for DefaultCurrencyCode (RTC-20890)
Import of gift card with no currency code in import file works fine also when DefaultCurrencyCode parameter has default value.


...

 

Default filter and columns persistence

Active gift cards are displayed by default in gift card list view. Columns persistence is added as well (application remebers what columns user want to see when opening grid next time).

Default environment currency

(RTC-20647)

Added parameter for default currency. It is used in the import when currency is not given in the file.

...

LocationComment

Balance details view

The data for the selected date (date period) is displayed properly in balance details view.

Image mgmt.GiftCard management user is able to sort images properly, when hiding expired ones (no blank spaces between not expired images)


...

 

Balance statistics calculator job

(RTC-18796)

BalanceStatisticsCalculator job calculates values for each store for the previous day and then inserts statistics into [CloudScrip].[DailyBalance] table. Those statistics are displayed in the giftcard balance views.
During the job execution below statistics are calculated:

  • Balance(Outstanding balance) - Sum of balances of active and valid gift card;
  • ExpiredAmount - Sum of balance amount for active but expired gift cards which expired 'yesterday';
  • IssuedAmount - Sum of the amount of commited issue transactions which were issued 'yesterday';
  • RedeemedAmount - Sum of the amounts of commited redeem transactions which were redeemed 'yesterday';-
  • BalanceCorrections - Count of balance corrections transactions made 'yesterday';
  • RegiftedCount - Count of regive operations for current date made 'yesterday'.

Balance statistics view

(RTC-18797)

With this view, a user of Gift Card Management will have an overview of daily sum of gift card balances per store and total.


Detailed balance statistics view

(RTC-18798)

With this view, a user of Gift Card Management will have an overview of the following transactions per store for a selected period:

  • Issued amount
  • Paid amount
  • Expired amount
  • Balance corrections count
  • Number of regifted gift cards

Gift Card API

(RTC-19706)

Get GiftCard Image method in v2

...

  1. image send in request parameter
  2. image linked to the gift card
  3. active periodic image from giftcard's profile
  4. ordinary image from giftcard's profile
  5. default image for tenant
  6. default hardcoded grey image


...

 

Mass import of existing gift cards from other sources

(RTC-16987)

It is possible to perform a mass import of giftcards from other sources. The following is enabled:

  • Import of gift cards from csv file.
  • Mass import of gift cards is possible from Gift card imports view in management module.
  • User can upload a file which will be processed and gift cards  will be added or updated in database.
  • If gift card is active or has NotPreloaded type, issue confirmed transaction is created with data given in the file.
  • Dedicated user role is needed to reach Gift card imports view.
  • Support of preloaded giftcards in import



...

 

Improvements

LocationComment
Gift Card Mgmt.

Fixes related to managing of Giftcards in Chain Web

  • Monetary values in grids are now aligned to the right in the column and displayed with two decimals.
  • Transaction status "Not applicable" is not displayed in the status column.
  • In the "Remind Pin Model" the label is changed to only include "Mobile". Changes have been applied to all languages.
Grid View
  • Selection of columns in grid is saved and remembered.
  • In giftcard's transactions view, columns chosen by the user are displayed, when opening view again previous setting are saved and remembered.



Schedule delivery of digital gift cards

(RTC-16991)

Gift Card Service

...

User is able to schedule delivery of gift cards to any future date when issuing or regiving.


Support preloaded giftcards in issue method

(RTC-17703)

  • It is possible to issue a giftcard which has not "issue commited transaction and PreloadedType is Preloaded or PreloadedWithValue.
  • If "Preloaded", all values sent in request are saved in DB.
  • On "PreloadedWithValue" it is possible to perform issue only when amount in request equals amount in the DB.
  • Issuing that giftcard does not change the PreloadedType.

...