On this pageMplusKASSA

MplusKASSA

Markdown

With the MplusKASSA integration you issue and redeem gift cards and check balances directly from the POS. Every transaction shows up in your Gifty dashboard right away. The integration also works for businesses with multiple locations and franchises.

First you set up the integration. After that you'll read how issuing, redeeming and checking a balance work on the POS.

From MplusKASSA 59.3.4 Some features need a recent version of MplusKASSA. A label like this one tells you which. Older POS systems keep working, with fewer features.


Installation

You need a few details from the Gifty dashboard. Then you set up a payment method, an article, a webhook and a button in MplusKASSA.

Preparation

  1. License
    Order the Q3300 – Webhooks license in the MplusKASSA dealer portal, or ask your dealer to do so.
  2. API key
    Create an API key in the Gifty dashboard under Developers. Pick a recognizable name, like POS front desk. You'll see that name in your transaction overview.
  3. Location ID (optional)
    Want to see at which location a gift card was redeemed? Copy the location ID from the Redeem addresses page. It always starts with lc_.
  4. Endpoint URL
    Put your API key and location ID in the URL below. Without a location ID, leave that part out.
HTTP
https://mpluskassa.pos.gifty.nl/[API-KEY]/[LOCATION-ID]

No access to the Gifty dashboard, or need test gift cards? Request them via gifty.nl/contact.

Configuration

Open Management (Beheer) from the main menu of the POS. That's where you set up everything below.

Payment method

With the Gifty Gift Card payment method you pay a receipt with a gift card.

  1. Go to Financial > Payment methods
  2. Click Edit and then Add payment method
  3. Fill in the new row as shown in the table and tick the checkbox at the start of the row
  4. Save the changes
FieldValue
DescriptionGifty Gift Card
Button textGifty Gift Card
Allow discount✅
Allow cash count✅

For your administration you can also select the account Gifty pays out to.

The payment method in Management
The payment method in Management

Article

An issued gift card is an article on the receipt. That keeps your administration right and VAT is charged at the right moment.

  1. Go to Articles
  2. Click New
  3. Fill in the details as shown in the table
  4. Save the changes
FieldValue
DescriptionGifty Gift Card
BarcodeGIFTY-GIFT-CARD
VAT code0%. VAT is charged when the gift card is redeemed.
Revenue groupA revenue group that fits your administration, for example a new Gift cards group
Stock itemDon't select

Webhook

Go to Settings > Webhooks and add a new application. Fill in the fields as shown in the table.

FieldValue
Application NameGifty
Company NameGifty B.V.
Subscription IDgifty
Secret TokenClick Generate
Endpoint URLThe endpoint URL from the preparation

Then enable the events in the table and save the changes.

EnabledEventBlockingPollingCancel AuthExtra settings
✅scanCode✅Code Type QRCODE, RFID and BARCODE
Pattern: ^(.*gifty\.[a-z]{2}\/)?([A-Z0-9]{16})(\/.*)?$
✅addSessionLine✅✅Article filter Gifty Gift Card
✅updateSessionLine✅✅Article filter Gifty Gift Card
✅cancelSession
✅completeSession
✅startExternalPayment✅Payment method Gifty Gift Card
✅pollExternalPayment✅✅
✅requestCancelExternalPayment✅
✅cancelExternalPayment✅
✅customAction✅
OptionalmergeSessionSee Merging tables
The webhook in Management. This screen looks different in recent versions of MplusKASSA.
The webhook in Management. This screen looks different in recent versions of MplusKASSA.

Article filter

With the article filter (Artikelfilter) the POS only sends receipt lines with a gift card to Gifty. Without the filter every receipt line goes through Gifty and the POS waits for it each time. So select the Gifty Gift Card article as the article filter.

The filter applies to addSessionLine, updateSessionLine and removeSessionLine. Restart the POS after saving: the filter only works after a restart.

Merging tables (optional)

From MplusKASSA 60.9.5 Not available on older versions.

Do you merge tables after one of them was already paid with a gift card? Then also enable the mergeSession event. The gift card payment then moves along to the merged table.

Buttons on the POS

With the Issue gift card button you issue a gift card without scanning it first, and you check a balance. The button isn't required, but we do recommend it. A separate balance button is optional.

Go to POS > Screen layout (Kassa > Schermindeling) and open the screen for the button, for example the Input screen (Invoerscherm).

  1. Choose an empty tile
  2. Choose the Webhook customAction function
  3. Open the options of the function and fill in the fields as shown in the table
  4. Save the changes. If the button doesn't show on the POS afterwards, restart the POS
The screen layout with the tile (1), the function (2) and its options (3)
The screen layout with the tile (1), the function (2) and its options (3)
FieldIssue buttonBalance button (optional)
Button textIssue gift cardBalance
CustomActionIdGIFTY_ISSUEGIFTY_BALANCE
Webhook ApplicationGiftyGifty
Call on startupNoNo

You can choose the button text yourself. Without a balance button you check a balance by pressing and holding the issue button, see Check balance.

Remaining balance on the receipt

From MplusKASSA 61 Older versions don't print the remaining balance.

After a payment with a gift card the POS prints the remaining balance at the bottom of the receipt. For that the Webhook footer text field (Webhook bonvoet tekst) has to be in your receipt layout.

The field in the layout decides where the remaining balance is printed
The field in the layout decides where the remaining balance is printed
  1. Go to Settings > Assign print layouts (Print lay-outs toewijzen) and check which layout your POS uses
  2. Open that layout under Settings > Print layouts
  3. Is Webhook footer text not in there yet? Look up the field, drag it to the bottom of the receipt and save

The receipt has one line per gift card, like Gifty gift card ...L9S4, remaining balance € 7.50. Only the last four characters of the code are shown. You don't need the Webhook footer code field for this.

An A4 layout doesn't have this field by default. After setting it up, pay one receipt with a gift card and check that the line is on the printed receipt.

MplusKASSA versions

The integration sees which version of MplusKASSA is running and only uses what that version supports. You don't have to configure anything for that.

FeatureFrom MplusKASSAOn older versions
Choosing an amount when issuing59.3.4Fixed amount buttons
Checking a balance with the issue button59.3.4Use a balance button
Error screen during payment59.3.4The message is shown in the scan prompt
Merging tables60.9.5Not available
Remaining balance on the receipt61No remaining balance on the receipt

Gifty updates the integration itself. You don't have to install anything for that.

Testing

The integration is ready. Test it with a test gift card: issue the gift card, check its balance and pay a receipt with it. The next chapters explain how that works.


Issue

There are two ways to issue a gift card: scan it directly, or use the Issue gift card button. The gift card is added to the receipt as a line and is loaded as soon as the receipt is paid.

Scanning directly

  1. Scan the QR code of the gift card
  2. Choose an amount or enter one yourself
  3. Press Add to receipt and pay the receipt
After scanning you choose an amount (1) or enter one yourself (2)
After scanning you choose an amount (1) or enter one yourself (2)

If you enter an amount and also choose a preset, the entered amount counts.

From MplusKASSA 59.3.4 On older versions you choose from fixed amounts, as in the video.

Scanning directly on MplusKASSA older than 59.3.4

With the button

  1. Type the amount on the numpad, for example 25,00
  2. Press Issue gift card
  3. Check the amount in the scan prompt and scan the gift card
  4. Pay the receipt

The numpad counts in cents. 25,00 and 2500 are € 25.00, but 25 is € 0.25.

If you don't type an amount first, you choose it after scanning, just like when scanning directly.

Issuing with the button

Good to know

  • Chose the wrong amount? Remove the line from the receipt and scan the gift card again. Nothing is loaded until the receipt is paid.
  • If you cancel the amount screen, the scan prompt or the receipt, nothing happens to the gift card.
  • You can add several gift cards to one receipt. The same gift card can only be added once.
  • A gift card that has already been issued can't be issued again. The POS shows its balance instead.

Redeem

You redeem a gift card on the checkout screen. You pay the whole receipt with a gift card, or part of it.

  1. Go to the checkout screen
  2. Press Gifty Gift Card. The POS fills in the open amount
  3. Press the checkout button (Afrekenen)
  4. Scan the gift card when the POS asks for it
Choose the Gifty Gift Card payment method (1) and check out (2)
Choose the Gifty Gift Card payment method (1) and check out (2)

If the balance is sufficient, the receipt is completed right away.

Paying with only a gift card

Paying part of the receipt with a gift card

Want to pay part of the receipt with the gift card? Change the amount at Gifty Gift Card and enter the rest at another payment method, like card or cash.

Don't know the balance? Scan the gift card on the checkout screen first. The balance appears below the total.

If the gift card doesn't have enough balance for the entered amount, the POS shows how much has been paid, for example € 1.00 of € 2.95 paid. Scan another gift card for the rest.

Paying with a gift card and a remaining amount

Cancelling

If you press Cancel in the scan prompt, you return to the checkout screen. Nothing is deducted, not even from a gift card you scanned before.

When the payment fails

From MplusKASSA 59.3.4 On older versions the message is shown in the scan prompt.

If the gift card can't be used, the POS shows what is going on. Scan again lets you try once more. Other payment method takes you back to the checkout screen.

Pass on the reference between brackets when you call Gifty or your dealer
Pass on the reference between brackets when you call Gifty or your dealer

See Troubleshooting for what the messages mean.

Remaining balance on the receipt

From MplusKASSA 61 Older versions don't print the remaining balance.

After paying, the remaining balance is at the bottom of the receipt, for example Gifty gift card ...L9S4, remaining balance € 7.50. For an empty gift card it says remaining balance € 0.00. Don't see the line? Check the receipt layout under Installation.


Check balance

There are three ways to check the balance of a gift card. Nothing is deducted.

WayWhat you doWhat you see
Scanning directlyScan the gift card on the POS screen or the checkout screenA line below the total with the balance and the expiry date
Issue button
From MplusKASSA 59.3.4
Press and hold Issue gift card and scan the gift cardA message with the balance and the validity
Balance buttonPress Balance and scan the gift cardThe same message

With a button

The message after scanning. The balance button is at the bottom right
The message after scanning. The balance button is at the bottom right

The message closes by itself after ten seconds. If the gift card hasn't been issued yet or can no longer be used, the message says so. Nothing changes on the receipt.

Scanning directly

The balance and the expiry date below the total
The balance and the expiry date below the total

The line can stay with the receipt while you continue. That doesn't mean the gift card is being charged: you pay on the checkout screen with the Gifty Gift Card payment method.

If you scan a gift card that hasn't been issued yet, the POS asks for an amount to issue it. Press Cancel if you don't want that.


Troubleshooting

Below are the messages you can see on the POS, and known issues in MplusKASSA itself.

Messages on the POS

MessageWhat it meansWhat to do
Gifty is temporarily unavailableGifty can't be reached for a moment, or is too busyTry again shortly or use another payment method. If it continues, pass the reference on to Gifty
This gift card cannot be usedGifty refuses to charge this gift cardUse another gift card or payment method. If you didn't expect this, pass on the reference
The gift card has no balanceThe gift card is emptyUse another gift card or payment method
Gift card not foundGifty doesn't know the code, or the code was scanned incorrectlyScan the gift card again
A gift card can be added onceThis gift card is already on the receiptScan another gift card
The Gifty integration is not set up correctlyThe API key in the endpoint URL is invalid or has no accessCheck the endpoint URL under Settings > Webhooks
No result found for the scanned codeThe POS doesn't recognize the code. During a Gifty outage you get the same message when scanning directlyScan again. If it continues, try again later or check the balance with the button

A message from Gifty has a reference between brackets, for example ref 325295ea. Pass it on when you call Gifty or your dealer, and take a photo of the screen. That helps us find out quickly what went wrong.

Management has a webhook log. It shows the status and the response of every request.

Known issues in MplusKASSA

Some versions of MplusKASSA have issues that affect the integration. Update the POS if you use one of them.

VersionWhat happensSolution
59.6.8External payments are cancelled right awayUpdate to 59.6.11 or newer
Older than 61.2.3After an update to version 60 or higher, payment methods for external payments can be disabledUpdate to 61.2.3 or newer
Older than 62.1.24, or version 66 older than 66.1.4After scanning a gift card the POS can crash with the message Integer overflow as soon as the receipt changesUpdate to 62.1.24, 66.1.4 or newer
Older than 60.9.5The POS doesn't send mergeSessionUpdate to 60.9.5 or newer