VaocherApp
Docs

How to install the checkout form on your website

This guide explains how to install the VaocherApp checkout form on your website so customers can buy gift vouchers online.

The checkout form is hosted by VaocherApp and added to your website with a small piece of code. No advanced development skills are needed.

Before you start

Make sure:

  • Your VaocherApp account is active
  • You’ve created at least one gift voucher item
  • Your payment method is connected (for example, Stripe)
  • You can edit your website content (CMS or HTML)

If any of these aren’t done yet, set them up first to avoid issues at checkout.

Step 1: Get your checkout code

  1. Log in to your VaocherApp dashboard and click Settings in the left menu.
  2. Click Get Your Checkout Code/Link at the top of the page.
Settings page with the Get Your Checkout Code/Link button highlighted
Click Get Your Checkout Code/Link
  1. Under Embed checkout in your website, choose your website platform: WordPress, Squarespace, Shopify, Wix or All other websites. Embedding keeps customers on your website while they buy.
Embed checkout in your website section showing WordPress, Squarespace, Shopify, Wix and All other websites
Choose your website platform
  1. Click Copy to clipboard to copy the code snippet.
Code snippet with the Copy to clipboard button
Copy the code snippet

Prefer a link instead of embedding? Scroll down to Share your checkout link and copy it. See How to find your checkout link.

The code and link are unique to your account and connect the checkout with your items and payment settings.

Optional: click Customise checkout link to choose which items to show, the default language and the embed mode (Full, Button or Modal).

Step 2: Add the code to your website

Paste the code into the page where you want customers to buy gift vouchers. How you do this depends on your platform.

WordPress

  1. Edit the page where you want the checkout to appear
  2. Add a Custom HTML block
  3. Paste the code
  4. Save or publish the page

See the full guide: Add checkout to WordPress

Shopify

  1. Edit a page in Online Store
  2. Switch to the HTML view
  3. Paste the code where you want the form to appear
  4. Save the page

Wix

  1. Open your site editor
  2. Add an Embed HTML element
  3. Paste the code
  4. Publish your site

Any other website

Choose All other websites, then paste the code into your page HTML where you want the checkout to appear.

All other websites option highlighted
All other websites works with any site that lets you add HTML
Embedding the VaocherApp checkout form code into a website page
Adding the VaocherApp checkout code to a website page

Step 3: Test the checkout form

  1. Open the page on your website
  2. Select a voucher amount or item
  3. Complete a test purchase
  4. Check that payment, order creation and email notifications all work

We recommend turning on test mode before going live. See How to enable test mode and place test orders.

Step 4: Go live

Once testing works:

  • Switch your payment method to live mode
  • Check item pricing and voucher settings
  • Check that order and email notifications work

Your checkout is now ready to take live orders.

Live VaocherApp checkout form displayed on a website
VaocherApp checkout form live and taking orders

Common issues and tips

  • Checkout not showing: make sure the full code was pasted
  • No items shown: check your gift voucher items are active
  • Payment issues: check your payment method is connected and in the right mode
  • Layout issues: some website themes add extra spacing around embedded content
Still need help? Contact Us
Last updated on