Git Product home page Git Product logo

spree_vouchers's People

Contributors

jsqu99 avatar

Watchers

 avatar  avatar

spree_vouchers's Issues

Split payments doesn't work

If an order totals $50, and the gift card has $30 left, the admin backend will by default drain the voucher and then charge the user the full $50 instead of $20.

Flash messages leaking

Flash messages wrt ajax "Use a Voucher" functionality often incorrectly display on next visited page, after already displaying on the current page.

Add Admin UI

Is this needed? What would it look like?

At minimum, a display of recently used giftcards would be required.

Voiding a Voucher can double/triple rebates

On the admin backend, if you cancel a voucher capture, you can still "void" this voucher transactions, which will result in a credit a user may have already received.

This will cause the authorized_amount to turn into a negative value, which will result in multiple other issues, including letting a user appear to be able to use voucher for more than its actual value. However, when an admin attempts to capture voucher, this will fail with an authorized/total mismatch.

Plug Valutec's API in to Vouchers

Likely want to store temporary copies of giftcards locally, but use Valutec's API for all transactional logic and make appropriate calls to ensure integrity.

Voucher won't work if user uses existing credit card information

Card information is required to be added again, using an existing CC will result in an error.

NoMethodError at /checkout/update/payment
undefined method `first' for nil:NilClass

NoMethodError at /checkout/update/payment
undefined method `first' for nil:NilClass

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.