Gift voucher widget on WordPress: sell prepaid sessions from your website

Add a gift voucher widget to your WordPress site: custom template, commission-free Stripe payment and a button to paste into an HTML block.

By the Zenpage team · · 4 min read

Gift voucher ready to give, next to its ribbon

Yes, a WordPress site can sell gift vouchers without a plugin or theme change. You create the voucher template in a generator, connect your own Stripe account, then paste a small block of code into an HTML block on your page. The visitor chooses their voucher, pays online, and the money goes directly to the seller's account.

How does a gift voucher widget work on WordPress?

The widget isn't a WordPress plugin: it is a button, or an embedded form, that displays your gift vouchers from your existing page. The sale itself takes place on a secure page provided by the generator, then the client returns to your site. Your WordPress handles neither the payment nor sending the voucher, it just opens the door.

Concretely, the journey looks like this: the visitor clicks the "Give a session" button, chooses an amount or a service, pays by card, and the recipient receives their voucher by email. You receive the sale confirmation and the payment in your Stripe account. The general principle is described in our guide to selling gift vouchers without changing your website.

Where do you paste the widget code in WordPress?

The code block is pasted like any content, wherever your visitors will see it. Five locations cover most practitioner and freelancer sites.

  • An HTML block in the editor. In Gutenberg, add a "Custom HTML" block in the middle of your services page, paste the code, and the button appears. It's the simplest method and works with all themes.
  • Your page builder. With Elementor, Divi or another builder, use their code or raw HTML module in the section of your choice. The button picks up your site's styles.
  • A dedicated "Gift vouchers" page. A whole page devoted to vouchers, accessible from your menu, concentrates purchases and ranks on the name of your business. It is the most readable option for relatives looking for a last-minute gift.
  • A WooCommerce product description. If you already have a WooCommerce shop, the gift voucher can appear as a complementary product, next to your other items.
  • The footer or sidebar. A link or small button present on every page recalls the existence of gift vouchers, without taking up space in the content.

In all cases, test the button after pasting it: click it like a visitor, check that the voucher choice page opens, and check the display on a phone, since most gift purchases are made on mobile.

What should you prepare before adding the button?

Pasting the code takes a few minutes, but the sale will only be clean if the voucher itself is ready. This table summarizes what to set up beforehand.

ItemTo set before publishing the button
The voucher templateLayout, font, colors and logo: this is the document the recipient receives, it must look like your brand.
The offersA free amount, one or two fixed amounts, or a specific service taken from your catalog.
The Stripe accountYour own account, connected once: payments arrive with you, with no commission taken by the tool.
The validity periodClearly stated on the voucher and on the page, to avoid any dispute at redemption.
The booking pathThe recipient must know how to book: link to your appointment page attached to the voucher or email.

Setting up the template and offers is described in the Zenpage gift voucher documentation, and connecting payments in the payments documentation.

Where does the money go when a client buys a gift voucher?

Directly to your own Stripe account, so to your usual bank account. The generator only serves as a technical intermediary at the time of payment: it doesn't hold the funds and takes no commission on the sale. This is the point to check before choosing a tool, because some services first collect the money on their own account before paying you out, with fees along the way.

With a free account, you can create and sell up to five confirmed gift vouchers. If sales follow, especially at year end, you move to a paid plan to continue. The details of the online payment flow are explained in our article on online payment.

What does the buyer receive after payment?

The recipient receives their voucher by email, as a personalized document with your logo, the amount or service offered, and your contact details. Depending on the generator, the voucher takes the form of a printable PDF or a code to present, sometimes with a QR code for checking at the practice. Plan for both uses: some relatives print the voucher to slip into an envelope, others simply forward it by message.

Also think about redemption: the recipient must understand how to use their voucher without calling you. A link to your booking page, shown on the voucher or in the sending email, is enough in most cases. Vouchers then coexist very well with your other sales, as shown in our article on the online shop.

To check before opening sales

A gift voucher is a commitment: a person pays for a service consumed later, sometimes by someone else. Display the validity period, the exchange conditions and your seller details on the voucher itself. Then test the whole journey, from the WordPress button to the email received, before sharing the page.

Going further

Start with a simple "Gift vouchers" page: a title, two sentences on the idea of giving a session, and the button. First offer a single voucher tied to your most requested service, then add amounts as sales come in. The full flow is detailed in the guide to gift vouchers without changing your website, and you can try directly on the Zenpage gift voucher generator page.

Frequently asked questions

Do I need a WordPress plugin to sell gift vouchers?

No. The widget is a simple block of code to paste into an HTML block on your page. There is no plugin to install, no theme to change and no maintenance to plan.

Where does the money from gift vouchers sold from WordPress go?

Directly to your own Stripe account, connected once to the generator. The tool takes no commission and does not hold the funds.

How many gift vouchers can you sell with a free account?

Five confirmed gift vouchers. Beyond that, a paid plan is needed to keep selling.

Create your website and get your first bookings today.

A website that reflects you, ready to welcome your clients. No effort, no developer. Start for free at €0, no credit card: your website and online bookings, with 15 days to try the automations. Upgrade to Pro whenever you like: €19.90 excl. VAT per month with no commitment, €199 excl. VAT per year or €1,490 excl. VAT for life.

Create my free page