Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspective/voucherify.js
[Deprecated] JavaScript SDK for Voucherify - coupons, vouchers, promo codes
https://github.com/rspective/voucherify.js
discount gift-vouchers sdk validate-vouchers voucher
Last synced: 7 days ago
JSON representation
[Deprecated] JavaScript SDK for Voucherify - coupons, vouchers, promo codes
- Host: GitHub
- URL: https://github.com/rspective/voucherify.js
- Owner: rspective
- License: mit
- Created: 2015-07-30T07:12:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-26T12:57:06.000Z (over 1 year ago)
- Last Synced: 2024-10-30T11:04:56.676Z (14 days ago)
- Topics: discount, gift-vouchers, sdk, validate-vouchers, voucher
- Language: JavaScript
- Homepage: http://www.voucherify.io
- Size: 620 KB
- Stars: 59
- Watchers: 15
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## ⚠️ Deprecation notice ⚠️
Please note that this SDK is now deprecated. Instead, please use [voucherify-js-sdk](https://github.com/voucherifyio/voucherify-js-sdk) - which is a brand new library that combines both client-side JavaScript and server-side node.js SDK features, and adds TypeScript support.
ℹ️ Note about **widgets**: The new SDK changes the way voucherify widgets are embedded on web pages. While the deprecated SDK relies on jQuery and (optionally) iframes, the new SDK implements widgets with React, but without iframes. If for any reasons you can't do without iframes, then that might be the only reason to stay with the deprecated SDK.
------------------
## Voucherify - JavaScript SDK[Voucherify](https://voucherify.io/?utm_campaign=sdk&utm_medium=docs&utm_source=github) is an API-first platform for software developers who are dissatisfied with high-maintenance custom coupon software. Our product is a coupon infrastructure through API that provides a quicker way to build coupon generation, distribution and tracking. Unlike legacy coupon software we have:
* an API-first SaaS platform that enables customisation of every aspect of coupon campaigns
* a management console that helps cut down maintenance and reporting overhead
* an infrastructure to scale up coupon activity in no timeThis is a library to facilitate coupon codes validation and redemption on your website.
You can find the full API documentation on [docs.voucherify.io](https://docs.voucherify.io).
Contents:
* [1](https://github.com/rspective/voucherify.js#initialize-settings) - Installation and client-side authentication
* [2](https://github.com/rspective/voucherify.js#validation) - How to validate [vouchers](https://docs.voucherify.io/reference/#vouchers-validate) and [promotions](https://docs.voucherify.io/reference/#validate-promotions-1)
* [3](https://github.com/rspective/voucherify.js#redeem-vouchers) - How to call [redemption](https://docs.voucherify.io/reference/#redeem-voucher-client-side)
* [4](https://github.com/rspective/voucherify.js#publish-vouchers) - How to call [publish](https://docs.voucherify.io/reference#create-publication) coupons
* [5](https://github.com/rspective/voucherify.js#list-vouchers) - How to call [list](https://docs.voucherify.io/reference/#list-vouchers) coupons
* [6](https://github.com/rspective/voucherify.js#validation-widget) - Configuring validation widget
* [7](https://github.com/rspective/voucherify.js#redeem-widget) - Configuring redemption widget
* [8](https://github.com/rspective/voucherify.js#publish-widget) - Configuring publish widget
* [9](https://github.com/rspective/voucherify.js#subscribe-widget---iframe) - Configuring customer profile widget### Usage
### Install script
Attach `voucherify.min.js` to your page, somewhere near `