allynfolksjr / spree_vouchers Goto Github PK
View Code? Open in Web Editor NEWThis project forked from spree-contrib/spree_vouchers
A WIP for Gift Vouchers
License: BSD 3-Clause "New" or "Revised" License
This project forked from spree-contrib/spree_vouchers
A WIP for Gift Vouchers
License: BSD 3-Clause "New" or "Revised" License
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 wrt ajax "Use a Voucher" functionality often incorrectly display on next visited page, after already displaying on the current page.
Is this needed? What would it look like?
At minimum, a display of recently used giftcards would be required.
I was able to replicate this earlier; unable now. Watch for when issue resurfaces again.
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.
Even if a user enters a valid voucher that will cover 100% of price, store will still require them to enter in another form of payment as well.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.