Skip to content

Instantly share code, notes, and snippets.

@madhavghei
Created October 17, 2016 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madhavghei/0ab1c481119cc74001e6663fc10f6487 to your computer and use it in GitHub Desktop.
Save madhavghei/0ab1c481119cc74001e6663fc10f6487 to your computer and use it in GitHub Desktop.
{
"success": true,
"result": {
"Status": -1,
"Order": {
"Address": {
"Street": "JohnSmith Lane",
"City": "JohnSmithville",
"Region": "NY",
"PostalCode": "90210"
},
"Coupons": [],
"Email": "johnsmith@johnsmith.gov",
"Extension": "",
"FirstName": "John",
"LastName": "Smith",
"LanguageCode": "en",
"OrderChannel": "OLO",
"OrderID": "",
"OrderMethod": "Web",
"OrderTaker": null,
"Payments": [
{
"Type": "CreditCard",
"Number": "[SANITIZED]",
"CardType": "VISA",
"AutoRemove": false,
"Code": "14SCREEN",
"Qty": 1,
"ID": 1,
"isNew": true,
"Options": {
"C": {
"1/1": "1"
},
"X": {
"1/1": "1"
}
}
}
],
"Market": "UNITED_STATES",
"Currency": "USD",
"ServiceMethod": "Delivery",
"SourceOrganizationURI": "order.dominos.com",
"StoreID": "3302",
"Tags": {},
"Version": "1.0",
"NoCombine": true,
"Partners": {},
"NewUser": true,
"metaData": {},
"Amounts": {},
"BusinessDate": "",
"EstimatedWaitMinutes": "",
"PriceOrderTime": "",
"IP": "[SANITIZED]",
"Status": -1,
"StatusItems": [
{
"Code": "CreditCardPaymentNotAllowed"
}
],
"Promotions": {
"Valid": [],
"Redeemable": []
}
},
"Offer": {
"ProductOffer": "",
"CouponList": []
},
"StatusItems": [
{
"Code": "Failure"
}
]
}
}
@KBuon
Copy link

KBuon commented Oct 22, 2016

It sounds to me like you're using the pizzapi as opposed to dominos. The pizzapi is simply a testing environment which allows you to go through the same process as the dominos api without actually having to place orders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment