Skip to main content
Skip table of contents

Giftcards

Giftcards is one of the Payment Types used in Aiden POS. Giftcards differ from other payment types since they have a balance, validity and can be sold via the POS.

Configuring Giftcards

Aiden POS assumes gift cards are managed by external software (Often ERP but also specialized software such as Intersolve). In the Store Management Portal under Menu Custom Integrations it is possible to integrate external Giftcard-software with Aiden POS:

image-20241212-085110.png

In the Giftcard setup screen, multiple Gift Card Integrations can be activated and setup:

image-20241212-085638.png
image-20241212-085846.png

In the Sellitem(s) field one or multiple itemcode can be entered. Selecting one of these items in POS initiates the Selling Giftcards process.

Selecting the Giftcard Type determines which fields are shown below. For now the available Giftcard Type is Custom Type. With this type it is possible to add your own headers which will be used in the calls made to the endpoint in the Url-field.

After setting up a Giftcard Integration this integration can be selected in Payment Types (with parent Payment Type Giftcard (GC)).

Selling Giftcards

Selling a giftcard in Aiden POS is started by selecting an item which is setup as a Sellitem to (one of) the Giftcard Integration(s). Selecting this item can be done via scanning its itemcode or e.g. by setting it up as a Quick Search Widget. If one of these items is selected a pop-up is shown in POS:

image-20241212-112742.png

The pop-up consists of two fields

  1. Amount the price of the selected item is shown here. If the item has no price, no price is shown. If the item is setup as a variablePriceItem, the price can be altered or added. (input for this fields is always incl. VAT).

  2. Barcode this field is always empty and needs to be filled by the employee.

Pressing OK results in adding the giftcard-item to the transaction with the amount from the pop-up (if the selected barcode is linked to a valid Giftcard).
Pressing Cancel closes the pop-up, no further action.

When the transaction is Finished, a giftCard call is made to the Url from the linked Giftcard Integration (for each sold GC), with the following input (externalID is filled with the name of the integration type, other fields are self-explanatory):

CODE
{"action":"updateGiftcardBalance", "UUID": "XXXXXXXXXX", "storeID": "XX-XX", "externalID": "GC0001", "giftcardBarcode": "EXAMPLE12345", "updateAmount": 50.00}

the following response is expected:

CODE
{"comment":"","statusCode":0,"newOpenAmount":50.00}

An updateAmount of 50 results in adding a value of 50 to the giftcard.

Aiden POS assumes the giftcard already exists and thus only its balance can be updated. Creation of new Giftcards is currently not possible. If the giftcard is invalid or does not exist, an error message is shown in POS:

image-20241212-091610.png

The second part of the comment is provided by the endpoint, this format is expected for the response:

CODE
{"comment":"Barcode xxxxxx not found","statusCode":1,"newOpenAmount":0}:

Using Giftcards as a payment method

On the Finish Page it is possible to select a payment type of type Giftcard:

image-20241212-092313.png

Pressing the + button shows a pop-up in which the giftcard-barcode can be filled out:

image-20241216-102658.png

After entering a barcode in this pop-up (e.g. via scanning or entering manually), a giftCard call is made to the Url from the linked Giftcard Integration, with input:

CODE
{"action":"getGiftcardBalance", "giftcardBarcode":"EX123456"}

the following response is expected:

CODE
{"validGiftcardBalance":100.00,"comment":"","statusCode":0}

After the call is finished, the balance is shown in this pop-up:

image-20241212-092750.png
  • Pressing Cancel closes the pop-up and no payment is added to the transaction.

  • Pressing OK closes the pop-up and adds the Giftcard Payment to the transaction. The amount added to the transaction is:

  1. The amount which was filled out in the Payment Box image-20241212-092941.png (if the balance on the giftcard is >= to this amount)

  2. The remaining balance on the giftcard (if remaining balance on giftcard is < amount from Payment Box.

When the payment is added, a giftCard call is made to the Url from the linked Giftcard Integration, with input:

CODE
{"action":"updateGiftcardBalance", "UUID": "XXXXXXXXXX", "storeID": "XX-XX", "externalID": "GC0001", "giftcardBarcode": "EXAMPLE12345", "updateAmount": -100}

the following response is expected:

CODE
{"comment":"","statusCode":0,"newOpenAmount":0}

When the payment is deleted, , another similar giftCard call is made to the Url from the linked Giftcard Integration. (with positive updateAmount).

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.