Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Apr 21 06:32
    ultamatt opened #111
  • Apr 14 22:32
    RIAEvangelist labeled #110
  • Apr 14 22:32
    RIAEvangelist labeled #110
  • Apr 14 22:31
    RIAEvangelist opened #110
  • Apr 07 00:29
    RIAEvangelist commented #2
  • Apr 05 15:42
    abhyuday-tripathi commented #108
  • Apr 05 15:37
    abhyuday-tripathi commented #108
  • Apr 05 15:00
    abhyuday-tripathi commented #108
  • Apr 05 14:57
    abhyuday-tripathi commented #108
  • Apr 03 16:41
    RIAEvangelist labeled #109
  • Apr 03 16:41
    RIAEvangelist labeled #109
  • Apr 03 16:41
    RIAEvangelist opened #109
  • Apr 03 16:28
    RIAEvangelist commented #77
  • Apr 03 16:28
    RIAEvangelist commented #76
  • Apr 03 16:28
    RIAEvangelist commented #68
  • Apr 03 16:28
    RIAEvangelist commented #67
  • Apr 03 16:27
    RIAEvangelist commented #6
  • Apr 03 16:27
    RIAEvangelist commented #2
  • Apr 03 16:23
    RIAEvangelist closed #108
  • Apr 03 16:23
    RIAEvangelist commented #108
Brandon Nozaki Miller
I believe the issue comes from the P12IPAZA item pre defined items have a different setup, try getting that items object from the menu and taking a look at the actual item object. It probably inherits from another item type and just has a special topping set.
hope this helps @rsheldiii
Steven Oud
Hi, I noticed all the urls in https://github.com/RIAEvangelist/node-dominos-pizza-api/blob/master/src/urls.json are unreachable for me (connection timeout), resulting in the whole app not working (10 failed tests).
Xavier Thomas
Hello, quick question.. what are the values that can be passed to the option property of "ITEM" in the api?
Brandon Nozaki Miller
@sceptre12 you'll have to get those from the menu. If you follow the examples it should auto populate for you when using the add method.
Timur Ercan
Hi guys, i would like to use the api to order in germany. Any ideas if this is possible? The adress object seems to be designed for us adresses only..
Eric Hilary Smith
Hello Im here to order pizza for home delivery
Madhav Ghei
I'm trying to order a Pizza using the API, but I keep getting a "CreditCardPaymentNotAllowed" exception. Does anyone know what this means? https://gist.github.com/madhavghei/0ab1c481119cc74001e6663fc10f6487
Nathan MacInnes

Hey, has anyone used it recently? I am having trouble placing an order. , has anyone else experienced this problem:

   [ { Code: 'AutoAddedOrderId' },
     { Code: 'PriceInformationRemoved' },
     { Code: 'RuleExecutionError',
       Message: 'BusinessRule ServiceMethodAllowedForBuildingAtStore failed. Cause: nullOn StoreOrderID: ' } ],

This is present after attempting to validate the order.

Brandon Nozaki Miller
can you put this issue on the repo?
I tried calling order.price() and received 200 http response. But when I dump the result object I see StatusItems has Failure. I put formatted junk in the credit card number so I don't accidentally send pizzas to my workplace. I wouldn't think that would matter if I'm only pricing an order though.
{ Status: -1,
{ Address:
{ Type: 'House',
Street: [SANITIZED],
Region: [SANITIZED],
PostalCode: [SANITIZED] },
Coupons: [],
CustomerID: '',
Extension: '',
FirstName: 'Melinda',
LastName: [SANITIZED],
LanguageCode: 'en',
OrderChannel: 'OLO',
OrderID: '',
OrderMethod: 'Web',
OrderTaker: null,
Payments: [ [Object] ],
Phone: '',
Products: [ [Object] ],
Currency: 'USD',
ServiceMethod: 'Delivery',
SourceOrganizationURI: 'order.dominos.com',
StoreID: 7111,
Tags: {},
Version: '1.0',
NoCombine: true,
Partners: {},
NewUser: true,
metaData: {},
Amounts: {},
BusinessDate: '',
EstimatedWaitMinutes: '',
PriceOrderTime: '',
IP: '',
Status: -1,
StatusItems: [ [Object] ],
Promotions: { Valid: [], Redeemable: [] } },
Offer: { ProductOffer: '', CouponList: [] },
StatusItems: [ { Code: 'Failure' } ] }
Brandon Nozaki Miller
Just to make sure, you are using the node-dominos, not the old pizza-pi which is not designed for purchasing right?
I was having trouble calling npm install dominos so I was trying to hack around the pizzapi code to include payment. I will look into my dominos installation errors. Is there a Python dependency? Here was my output from npm

C:\Users\melim\Documents\pizzaProject>npm install dominos

node-expat@2.3.15 install C:\Users\melim\Documents\pizzaProject\node_modules\node-expat
node-gyp rebuild

C:\Users\melim\Documents\pizzaProject\node_modules\node-expat>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:454:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:480:16)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:114:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\melim\Documents\pizzaProject\node_modules\node-expat
gyp ERR! node -v v7.10.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
`-- (empty)

npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\melim\Documents\pizzaProject\package.json'
npm WARN pizzaProject No description
npm WARN pizzaProject No repository field.
npm WARN pizzaProject No README data
npm WARN pizzaProject No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "dominos"
npm ERR! node v7.10.0
npm ERR! npm v4.2.0
npm ERR! errno 1

npm ERR! node-expat@2.3.15 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat@2.3.15 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-expat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-expat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\melim\AppData\Roaming\npm-cache_logs\2017-05-09T18_18_51_469Z-debug.log

I can keep googling these npm installation issues but if you have suggestions on how to get unblocked, I'd really appreciate it!
I tried setting my python environment variable but I can keep looking into whether it's misconfigured..
Madeline Cameron

Eeee. Yikes. This sort of looks like a node compile issue. https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/

(My prefered solution was to stop writing code on Windows but that is a bit extreme ;))

I don't know if the first link will work but I do remember this being a HUUUUGE pain to get working correctly.
(FYI: This is actually a node issue on Windows since Windows is a bit temperamental when it comes to compiling things. If the first link doesn't work for you, googling around about node-gyp rebuild on Windows might yield some results. This entire process is quite hazy for me unfortunately since I abandoned Windows a while ago for actually this exact issue)
Thanks Madeline and Brandon for being so responsive! I did google around and see the issues around node-gyp rebuild broken on Windows, although I was (probably) in denial. Thanks for the suggested workaround, I'll continue looking into it!
Hello Madelin
Hey Guys!
I'm wondering if it is possible to use a gift card on the api.
Hi, is it possible to use the store locator in the UK?
Amel Sehic
Aleksey Evmenkov
Hi guys
i need help
So I'm brand new to Python, never used it before.
I installed Python3 and the repository for pizzapy
What do I do now
enigma9o7 Holy crap did I find the pizza channel of dreamns?
enigma9o7 cuz I love dominos
enigma9o7 I'm fat and lazy and it tastes fsoooooooooooooooooo good.
enigma9o7 I like the 5.99 thing
enigma9o7 i mean it makes me buy a pizza na chicken and sandwhich and salad
enigma9o7 i usually pu thte salad in the fridge and think about eating it tho
enigma9o7 cuz like, i like salad, and need veggies,, but their salds suck
enigma9o7 its letuce and tomotes
enigma9o7 both fine
enigma9o7 but thats like all
enigma9o7 half the time those tomatoes are great, half the time, they are gross
enigma9o7 Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
enigma9o7 Is this not a domins pizza channel.
enigma9o7 or like
enigma9o7 its some api channel
enigma9o7 which means i gotta use some programmers interface to get a response
enigma9o7 ok