Versions Compared

Key

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

 

LocationComment
Gift Card Service

Gift Card Expirator performance (RTC-26305)

GiftCardExpirator has been refactored to expire giftcards in batches. The performance of the expiration has been greatly improved.

Expand
titleTechnical

Two new parameters are available in job's configuration:

  • Batch size - number of gift cards to be expired in one run of the procedure;
  • Execution maximum - number of gift cards to be expired in single job's execution.
Gift Card Service
Klarna Gateway

Creating redeem transaction with 0 amount (RTC-24608)

Redeem transaction with 0 amount were still being created for empty Gift Cards. After changes, redeem transactions with 0 amount are not created for all of the giftcards.


...

 

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

...

The maximum amount of giftcards, that could be created in single request, is equal to 1000 - possible values of giftCardCount are from 2 to 1000.
startingGiftCardNumber cannot be overlapping with autogenerated giftcards prefix and.
If any giftcard already exists in the specified range, then no giftcards will be created for given parameters startingGiftCardNumber and giftCardCount


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

...

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. 

Improvements

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

...

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.


Improvements

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

...

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)

Improvements

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

...

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


Improvements

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

...

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


Improvements

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

...

  • 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

...