Git Product home page Git Product logo

voucherify.js's People

Contributors

afronski avatar awilczek avatar bandraszyk avatar frakti avatar imvanzen avatar lukaszwiktor avatar mmoczulski avatar pawelrychlik avatar pkgacek avatar sedzia avatar szandrzej avatar tpindel avatar werachodanionek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voucherify.js's Issues

Loyalty Programs

Redemption:

  • Redeem Voucher (client), added reward property Docs

Events:

  • Track Event (client), added loyalty property Docs

API Swagger Files

Do we have the API Swagger files available for download?

Thanks,

João Batista

Voucherify.validate returns a 500 error

Thanks for your work. This is the first error we've encountered with Voucherify so far.

Error with 1.18.0

Attempting to call Voucherify.validate(${code}) is returning a 500 error starting today [2018-04-26 Thu].

Source: <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/rspective/voucherify.js@latest/dist/voucherify.min.js"></script>

voucherify.js:170 GET {my_site_url}/undefinedcode={code} 500 (INTERNAL SERVER ERROR)
y	@	voucherify.js:170
validate	@	voucherify.js:284
(anonymous)	@	orders.1d880d8….js:1
(anonymous)	@	0.1d880d8….js:1
(anonymous)	@	0.1d880d8….js:1
n.validateCode	@	orders.1d880d8….js:1
(anonymous)	@	0.1d880d8….js:1
invokeGuardedCallback	@	0.1d880d8….js:1
invokeGuardedCallbackAndCatchFirstError	@	0.1d880d8….js:1
S	@	0.1d880d8….js:1
A	@	0.1d880d8….js:1
P	@	0.1d880d8….js:1
C	@	0.1d880d8….js:1
N	@	0.1d880d8….js:1
I	@	0.1d880d8….js:1
_n	@	0.1d880d8….js:1
batchedUpdates	@	0.1d880d8….js:1
Be	@	0.1d880d8….js:1
wn	@	0.1d880d8….js:1
interactiveUpdates	@	0.1d880d8….js:1
Mn	@	0.1d880d8….js:1

With my_site_url replaced by the URL of the site from which I made the request and code replaced with the voucherify code I have attempted to validate.

No error with 1.17.0

When I revert back to 1.17.0 and run Voucherify.validate(${code}), a 200 response is returned.

Source: <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/rspective/[email protected]/dist/voucherify.min.js"></script>

Improve display of reduced price in widget

Just a small suggestion. In the gif on your website you show that the old price "$45" is replaced by "$40".

I think it would way more visually appealing if you strike-through the old price, and add a new (bold + larger font) line underneath which shows the reduced "$40" price tag.

In HTML it would be something like this:

<del style="color: red">$ 40.00</del><br/><strong style="font-size:150%">$ 45.00</strong>

Extended OrderItem model and List All Promotion Tiers methods

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.