Automatic gift card delivery – how does it work?

What is automatic gift card delivery?
Automatic gift card delivery means that once a payment is confirmed, the system itself assigns a digital card with a unique code to the purchase and sends it by email. Nobody has to prepare each gift by hand, type in a number or copy order details into a message.
It helps to separate three things that are often mixed up. A gift card is the right to a set monetary value or a specific service, such as dinner for two or a massage. The code is its identifier: a string of characters the business uses to find that card in its system. The email is only the means of delivery, the “envelope” in which the card and code reach the recipient.
There are three roles. The seller is the business that offers the card and later redeems it. The buyer pays for the card. The recipient is the person who will use the card; it may be the buyer or someone who received the card as a gift.
This article covers digital cards only. Physical deliveries, such as printed cards sent by post or courier, follow different rules and are not discussed here.
What happens between payment and issuing the card?
From the customer’s point of view, buying looks like a single action: clicking “pay” and, a moment later, an email with the card. In reality there are several separate stages behind it, in which different services exchange information.
Take a simple example: a customer buys a massage voucher at a spa. The sequence of events usually looks like this:
- The customer picks the voucher, enters their details and places the order. The system saves it as awaiting payment.
- The customer pays, and the payment service processes the transaction.
- The sales system receives confirmation that the payment has gone through.
- A code is assigned to the order, and the card is prepared for sending.
- The finished card is put into an email.

Step 1 in practice: the SPA PRO BODY (Gdańsk) voucher shop on Retiva.io. The customer picks a massage voucher on their phone.
See the SPA PRO BODY voucher shop (in Polish) →
How this works differs between platforms, so the sequence above is a general outline, not a description of a specific solution. What matters is that several steps happen between “I paid” and “I have the card”, and each of them can be checked separately.
How does the system know the order has been paid?
The service handling the payment, for example an online payment provider, tells the sales system that the payment is confirmed. Once the transaction is complete, it sends a confirmation linked to a specific order, so it is clear which card the payment is for.
It is important to tell starting a payment apart from its confirmation. A customer can open the payment window and then close it. A payment can also be declined by the bank or wait for authorisation. Only the message from the provider says that the money has actually been received.
That is why simply showing a thank-you page should not trigger issuing a paid card. That page is shown in the customer’s browser and can appear even when the payment has not finished yet. A well-designed process relies on a confirmation passed between services, not on what the user saw.
How is a unique gift card code created?
A code can be created in two ways: the system generates a new identifier at the moment of purchase, or it assigns one of the codes prepared earlier, for example loaded from a pool. In both cases what matters most is that the same code is never assigned to two independently issued cards. The card can still be passed from the buyer to the recipient, but one code should point to one card.
The string of characters itself usually describes nothing. The value or service, the expiry date and the card’s status are stored in the system’s database and linked to the code. Think of a cloakroom ticket: the number says nothing about the coat, but it lets you find it. This way the card’s details can later be checked or updated without changing the code.
Does a repeated payment confirmation create another card?
It shouldn’t. Payment services quite often send the same message more than once, for example when the first delivery attempt was not acknowledged. A well-designed process recognises that the order has already been handled and does not issue a second card for one payment.
It is worth separating three situations that are not the same:
-
Receiving information about the same payment again – the system recognises the order as already handled and creates nothing.
-
Resending an existing card – the same card with the same code reaches the recipient again, for example when the message got lost.
-
Issuing a new card – a new code with a new value record is created, which means an additional liability for the business.
The first two do not increase the number of cards in circulation. The third does, and it should be a deliberate decision, not the result of a repeated message.
How and when does the gift card arrive by email?
Once the card is ready, the system moves on to delivering it. It can go to the buyer or straight to the recipient, depending on what the solution allows and what details were given in the order. If the buyer entered the recipient’s address, the message can go straight to them; otherwise the buyer receives it and passes the gift on.
The system prepares the message, inserts the card details and hands it over for sending. From then on, the email infrastructure takes over: the sending server and the recipient’s mailbox. Automatically starting delivery after payment confirmation does not, therefore, guarantee that the message will appear in the inbox instantly.
What does the recipient get in the card email?
A typical message contains a few elements that let the recipient use the gift:
-
the card code,
-
the monetary value or a description of the service,
-
information on validity,
-
instructions for use, i.e. where and how to show the code.
The card can be shared in different ways: as a link to a page with the card, an attachment (for example a PDF file) or a code to scan, such as a QR code. These are possible forms, not mandatory parts of every solution. One business will send just the code in the body of the email, another will attach a decorative printable file.
Why doesn’t automatic delivery always mean instant delivery?
The time from purchase to the message showing up is made up of several independent stages. First, the system waits for payment confirmation, which with some payment methods does not arrive right away. Then it takes time to prepare the message and hand it over for sending. Finally, the message has to be accepted by the recipient’s mail server.
At that last stage, spam filtering may kick in: the message lands in the junk folder or is temporarily held. On the seller’s side, a deliberately scheduled delivery is also possible, if the solution offers it. The card then goes out at a chosen time, for example on the recipient’s birthday. None of these situations justifies promising delivery within a set number of seconds.
What happens to the code when the card is used?
The journey of a digital gift ends at redemption. The recipient shows the code, for example at the venue, when booking or when contacting staff. The business looks the card up in its system and checks what is available on it and whether it is still valid.
Then the redemption is recorded, which depends on the type of card:
-
A single-use card, for example a voucher for a specific massage, changes its status to used after redemption.
-
A card that allows partial redemption, for example one with a set amount, has its balance reduced by the value of the service provided.
Reading the code alone does not settle anything. If nobody records the redemption after checking the card, the same code could be used again. A unique identifier lets you find the right card, but it does not replace updating its data. Nor can you assume the solution automatically works with the till or the booking system; that depends on the business’s specific setup.
What still needs preparation and control from the business?
Automation covers each individual purchase, but it does not replace the seller’s decisions. The business still sets the offer, i.e. exactly what it sells, as well as the validity period and terms of redemption, for example whether the card is valid at weekends or requires booking in advance. It also prepares the information the recipient will see in the message, so they know how to use the card. What this looks like for a spa is described in Why a spa needs its own gift voucher shop.

The offer is set by the business: value vouchers and specific dinners in the Restauracja Szeroka (Rybnik) shop.
See the Restauracja Szeroka voucher shop (in Polish) →
A good practice is to check the whole process with a test purchase: from placing the order, through payment, to receiving the message and showing the code. Such a test shows whether the content is clear and whether the card ends up where it should. Beyond preparing the offer, two areas remain where automation is not enough: investigating delivery problems and protecting codes.
How do you find out why a card didn’t arrive?
When a customer reports a missing message, it is best to check each stage in turn:
- Payment – whether it was confirmed, not just started.
- Card assignment – whether the order has a code assigned.
- Recipient address – whether it contains a typo or a wrong domain.
- Sending status – if the system shows it, whether the message was handed over for sending.
It is also worth asking the customer to check their spam folder. Once the cause is found, resending the same card, for example to a corrected address, is usually enough. There is no need to create a new one straight away, as that would result in two codes for one payment.
Why shouldn’t a card code be shared publicly?
Knowing the code may be enough to use the value assigned to it, and the business often has no way of telling the card’s owner from someone who knows the code. That is why caution is justified at every stage: when posting photos of the card on social media, when sending screenshots and when limiting access to order data within the business.
Pay particular attention to requests to change the card’s recipient or resend it to a different address, as these can be attempts to take over someone else’s gift. A unique code is not full protection against abuse; it protects against mistaking one card for another, but not against the code itself being exposed.
How automatic card delivery works – a summary of the whole process
The process can be summed up in one chain. The business prepares the offer and the rules. A confirmed payment triggers assigning a card with a code. The message delivers the card to the recipient. Recording the redemption lets you keep track of its use.
Two distinctions help here. The card, the code and the email are three different things: the right to a service, its identifier and the means of delivery. Sending is also not the same as delivering, because the system can send a message while the recipient’s mailbox accepts it late or filters it out.
Automation cuts the repetitive work on every purchase, but it does not remove the need for clear terms, code protection and handling exceptions. These are what decide whether a digital gift actually reaches the recipient and is redeemed correctly.
Frequently asked questions
Is showing a thank-you page after purchase enough to send a gift card?
No – issuing a paid gift card should be triggered by the payment confirmation from the service handling the transaction. The thank-you page may appear before the payment is complete. Only a confirmation linked to a specific order allows the card to be assigned and sent.
Does a gift card code contain its value and expiry date?
A gift card code is usually just an identifier, while the value, expiry date and status of the card are stored in the system. The code lets you find this information, but does not describe it. This way the card’s details can be updated without changing the code, for example reducing the balance after partial use.
Can a digital gift card go straight to the recipient?
Yes, if the sales system lets you enter the recipient’s email address. The message with the card can then be sent straight to them. Otherwise the buyer receives the card and passes the gift on.
Does a confirmed payment mean the gift card email is already in the recipient’s inbox?
No – payment confirmation starts further handling of the order, but does not yet mean the card has been delivered. The system has to assign the card, prepare the message and hand it over for sending, and the recipient’s mail server has to accept it. The message may be delayed or land in spam; delivery may also be deliberately scheduled for later, if the system offers that feature.
How is resending a gift card different from issuing a new one?
Resending delivers the existing card with the same code, whereas issuing a new card creates a separate code and an additional liability for the business. A lost message therefore does not mean another card has to be issued. Once the cause of the problem is found, it is usually enough to resend the same card, for example to a corrected address.
Does scanning a gift card code mean it has been used?
No – reading the code alone does not replace recording the redemption in the system. For a single-use card it has to be marked as used, and for a card that allows partial redemption the balance has to be reduced. Without updating the data, the same code could be used again.