Comments (4)
Oh man, I hope this gets fixed really soon. Thank you for creating the issue. I wonder if this bug is live and how many actual backers are there on Lockitron.com
from selfstarter.
The number of backers should be based on a count of valid Amazon tokens that have been returned to Selfstarter. When you are in the sandbox mode, you can create a bunch of fake orders quickly that provide fake multi-auth tokens. Is this what occurred? Or did you cancel/leave Amazon midway through?
People who start an order but don't finish should not be counted - even in sandbox mode.
If a person cancels their order, you should have a valid IPN endpoint which then deletes the order on Selfstarter.
For third party verification, these tokens can be provided to someone else who can call them against the Amazon service to see if they are real.
from selfstarter.
I just pushed a fix.
With Lockitron.com, we had to modify certain parts of Selfstarter because the code for Selfstarter was too tightly coupled with the rest of our codebase -- we kind of rushed this out without testing it enough first.
The problem was that it did Order.count
which literally counts all the rows in the orders
table -- now, it does Order.where("token != ? OR token != ?", "", nil).count
--- token
is where we store Amazon's multi-use token. When the checkout process is successful, Amazon passes us back this multi-use token, and, when the product is ready to ship, we use it to actually charge the credit card. Now, this will count the orders based on the orders with multi-use tokens.
from selfstarter.
Thank you very much for your help and explanation!
I'll try to work it out.
from selfstarter.
Related Issues (20)
- Functionality for custom payment option? HOT 1
- jquery-ui update HOT 1
- Bundle install HOT 4
- Depecration Warning during rake db:migrate HOT 2
- Asset path issue in Heroku HOT 1
- How do I use this for my own funding project ?
- Add a service of integrate continuous
- Test suite is failing
- have a problem
- is this still being maintained? HOT 3
- Working App??
- Error on loading page
- undefined method `environment' HOT 2
- Microdonation?! HOT 1
- User specified / flexible contribution amount HOT 1
- How do I build it on a 3rd party hosting platform HOT 2
- file gets downloaded in safari
- selfstarter.us website down "Application Error" HOT 1
- Use as an engine? HOT 1
- RSpec
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfstarter.