Skip to content

Instantly share code, notes, and snippets.

@madhavghei

madhavghei/No pizza :( Secret

Created Oct 17, 2016
Embed
What would you like to do?
{
"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

This comment has been minimized.

Copy link

@KBuon 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