The Voucherify Developer Hub

Welcome to the Voucherify developer hub. You'll find comprehensive guides and documentation to help you start working with Voucherify as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

UI widgets

This tutorial presents the way to integrate Voucherify on the client-side

Sometimes it's important to validate a promo code or promotion on the client-side, e.g. imagine you want to calculate and display a discounted price on the fly. That's why Voucherify comes with Voucherify.js - an open source JavaScript library which enables you to query the API.

Besides validation, Voucherify.js offers 3 other features:

  • publish widget which enables your customers to get a unique voucher from a given campaign in exchange for providing email address
  • subscribe widget which adds a customer to Voucherify. You can then use one of the automatic delivery channels to send him a coupon
  • listing coupons from a given campaign.

Examples

Go to Examples and play around with Voucherify.js widgets

Installation & reference

Visit Github repo to get the up-to-date documentation.

Domain white list

To use voucherify.js, you have to white-list your domain in the Client-side Settings

Enable client-side features

You have to activate particular client-side options in the project settings