Comments (6)
Also, I placed an order last night and today in class successfully! I'll work on figuring out which of my changes are needed to update the master branch to a more usable version right out of the box. I want to figure out how to get Customer IDs, Easy-Order IDs, and Saved card IDs so that the user can find theirs and set it. I copied the payload from my validate, price, and place order requests on Dominos.com and used them to find what is lacking in node-dominos-api so right now my version is a bit hacky,
from pizzadash.
I haven't made an actual order in quite some time. Let me look into this over the next week or so.
from pizzadash.
I think there may be flaws in the dominos api. We tested it out fully on Friday but we kept getting invalid statuses from our calls to order and validate. We believe there's something wrong with the way we or the dominos api make the order object. Because the documentation is very lackluster on Dominos's end, I've been looking into using their Twitter easy ordering feature to order with the dash button. We could make a static tweet to @Dominos when the user presses a button, and use a website for the Twitter app connection to pizzadash and redirecting users that haven't yet setup Dominos Tweet-to-order to their website. This would allow users to use the Dominos website for order entry, allow them to get rewards points, get deals and coupons, and increase security by keeping user info in the hands of Dominos.
from pizzadash.
@JoeIaquinto if you guys pursue this, I would recommend you creating your own repo as that would change the behavior of what this repo is doing. I have not tested this application in months (really since I made the video), but as this is a different idea of how it's implemented and intended to be used, I would not accept any pull requests with this method.
from pizzadash.
Completely understandable. We present our project Tomorrow so there's not enough time for us to pivot to using Twitter anyways right now. I was looking at Dominos.com last night and inspecting the API requests and responses via Chrome dev tools XHR request monitoring and I had the idea to run a proxy to intercept the outgoing requests from a user on Dominos website so that it can be repeated by the Dash button on each press. We may try to build a fork around this idea and see where it goes. I know https://github.com/maddox/dasher already exists so maybe we'll be able to use that. I really wish dominos better supported their API so that it was easier to place orders without directly using their website or apps, I think it would benefit their "AnyWare" campaign.
from pizzadash.
@domainzero You might want to look at the node-dominos-api more. I believe the order to call the functions is validate, price, place. It would help to post the full response in the callback from when you press the button. Dominos sends back a Status and StatusItems which give more detail on why the call was rejected (The data is formatted incorrectly, the POS system failed to process the credit card, the store is closed). You may see PriceInformationRemoved as a status item, but it's just a warning and won't prevent an order.
from pizzadash.
Related Issues (9)
- actual purchase HOT 1
- Docker it! HOT 2
- ENONET: Error
- Error: Cannot find module '/Users/dave/node_modules/node-dash-button/bin/findbutton HOT 2
- Needs to be one app HOT 15
- After setup, app not communicating with Dominos HOT 3
- Link in README to your Medium article is broken
- everything except pcap and socket watcher loads on OS X HOT 5
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 pizzadash.