· 7 years ago · Mar 15, 2018, 06:26 AM
1{
2 "error": true,
3 "message": {
4 "line": 410,
5 "track": [
6 {
7 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/google/cloud/src/Datastore/EntityMapper.php",
8 "line": 308,
9 "function": "objectProperty",
10 "class": "Google\\Cloud\\Datastore\\EntityMapper",
11 "type": "->",
12 "args": [
13 {}
14 ]
15 },
16 {
17 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/google/cloud/src/Datastore/EntityMapper.php",
18 "line": 118,
19 "function": "valueObject",
20 "class": "Google\\Cloud\\Datastore\\EntityMapper",
21 "type": "->",
22 "args": [
23 {},
24 false,
25 null
26 ]
27 },
28 {
29 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/google/cloud/src/Datastore/Operation.php",
30 "line": 514,
31 "function": "objectToRequest",
32 "class": "Google\\Cloud\\Datastore\\EntityMapper",
33 "type": "->",
34 "args": [
35 {}
36 ]
37 },
38 {
39 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/google/cloud/src/Datastore/DatastoreClient.php",
40 "line": 699,
41 "function": "mutation",
42 "class": "Google\\Cloud\\Datastore\\Operation",
43 "type": "->",
44 "args": [
45 "upsert",
46 {},
47 "Google\\Cloud\\Datastore\\Entity"
48 ]
49 },
50 {
51 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/google/cloud/src/Datastore/DatastoreClient.php",
52 "line": 658,
53 "function": "upsertBatch",
54 "class": "Google\\Cloud\\Datastore\\DatastoreClient",
55 "type": "->",
56 "args": [
57 [
58 {}
59 ],
60 []
61 ]
62 },
63 {
64 "file": "/Users/buidan/Documents/projects/hottab/donut-api/app/Service/OrderService.php",
65 "line": 1378,
66 "function": "upsert",
67 "class": "Google\\Cloud\\Datastore\\DatastoreClient",
68 "type": "->",
69 "args": [
70 {}
71 ]
72 },
73 {
74 "file": "/Users/buidan/Documents/projects/hottab/donut-api/app/Service/OrderService.php",
75 "line": 1220,
76 "function": "createUpdateDonutOrder",
77 "class": "App\\Service\\OrderService",
78 "type": "->",
79 "args": [
80 {
81 "items": [
82 {
83 "amount": 100000,
84 "type": 0,
85 "total_discount": 0,
86 "price": 100000,
87 "tag_number": "0001",
88 "qty": 1,
89 "pretax_price": 100000,
90 "options": {
91 "breakdown": [],
92 "total": 0
93 },
94 "total_tax": 0,
95 "subtotal": 100000,
96 "image": {
97 "url_thumb": null,
98 "url": null
99 },
100 "total": 100000,
101 "name": "Tshirts3",
102 "category": {
103 "id": "0cf76b40-0c8c-11e8-9b58-fb6f35a4ddb0",
104 "name": "Clothing"
105 },
106 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
107 "pickup_date": "2018-03-16 12:00:00",
108 "option_set": [
109 {
110 "max_choice": 1,
111 "is_original": 0,
112 "outlet_uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a",
113 "opt_set_uuid": "10a63660-16bb-11e8-822c-f7f445921985",
114 "min_choice": 1,
115 "mandatory": 1,
116 "name": "Chuong",
117 "option": [
118 {
119 "price": -1000,
120 "opt_set_uuid": "10a63660-16bb-11e8-822c-f7f445921985",
121 "trackable": 0,
122 "name": "fcdffdfg",
123 "pivot": {
124 "option_uuid": "10a906a0-16bb-11e8-a872-47a1ea720efb",
125 "price": -1000,
126 "created_at": "2018-02-21 03:55:32",
127 "item_uuid": "109e7890-16bb-11e8-b407-bbae238524e2",
128 "updated_at": "2018-02-21 03:55:32"
129 },
130 "id": null,
131 "uuid": null,
132 "created_at": "2018-02-21 03:55:32",
133 "photo": null,
134 "updated_at": "2018-02-21 03:55:32",
135 "option_uuid": "10a906a0-16bb-11e8-a872-47a1ea720efb",
136 "is_original": 0,
137 "type": "option"
138 }
139 ],
140 "id": null,
141 "created_at": "2018-02-21 03:55:32",
142 "multiple_choice": 1,
143 "updated_at": "2018-02-21 03:55:32",
144 "multiple_option": 1
145 }
146 ],
147 "delivery_date": "2018-03-16 12:00:00"
148 },
149 {
150 "amount": 100000,
151 "type": 0,
152 "total_discount": 0,
153 "price": 100000,
154 "tag_number": "0002",
155 "qty": 1,
156 "pretax_price": 100000,
157 "options": {
158 "breakdown": [],
159 "total": 0
160 },
161 "total_tax": 0,
162 "subtotal": 100000,
163 "image": {
164 "url_thumb": null,
165 "url": null
166 },
167 "total": 100000,
168 "name": "Tshirts2",
169 "category": {
170 "name": "Clothing",
171 "id": "0cf76b40-0c8c-11e8-9b58-fb6f35a4ddb0"
172 },
173 "id": "259e4da0-2273-11e8-a223-0b7307743457",
174 "pickup_date": "2018-03-16 12:00:00",
175 "option_set": [
176 {
177 "opt_set_uuid": "25aa60f0-2273-11e8-8782-4df4c2b97150",
178 "min_choice": 1,
179 "mandatory": 1,
180 "name": "Chuong",
181 "option": [
182 {
183 "trackable": 0,
184 "name": "fcdffdfg",
185 "pivot": {
186 "option_uuid": "25acf240-2273-11e8-8631-d3cd5deee96e",
187 "price": 0,
188 "created_at": "2018-03-08 01:50:58",
189 "item_uuid": "259e4da0-2273-11e8-a223-0b7307743457",
190 "updated_at": "2018-03-08 01:50:58"
191 },
192 "id": null,
193 "uuid": null,
194 "created_at": "2018-03-08 01:50:58",
195 "photo": null,
196 "updated_at": "2018-03-08 01:50:58",
197 "option_uuid": "25acf240-2273-11e8-8631-d3cd5deee96e",
198 "is_original": 0,
199 "type": "option",
200 "price": 0,
201 "opt_set_uuid": "25aa60f0-2273-11e8-8782-4df4c2b97150"
202 }
203 ],
204 "id": null,
205 "created_at": "2018-03-08 01:50:58",
206 "multiple_choice": 1,
207 "updated_at": "2018-03-08 01:50:58",
208 "multiple_option": 1,
209 "max_choice": 1,
210 "is_original": 0,
211 "outlet_uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a"
212 }
213 ]
214 }
215 ],
216 "outlet": {
217 "currency": {
218 "name_plural": "Japanese yen",
219 "code": "JPY",
220 "decimal_digits": 0,
221 "symbol_position": 0,
222 "symbol": "Â¥",
223 "rounding": 0,
224 "name": "Japanese Yen",
225 "symbol_native": "ï¿¥"
226 },
227 "uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a",
228 "phone": "983145327",
229 "address": "日本ã€ã€’104-0061 æ±äº¬éƒ½ä¸å¤®åŒºéŠ€åº§ï¼˜ä¸ç›®",
230 "name": "ランドリーæ±äº¬",
231 "geo_location": {
232 "long": 139.7610788,
233 "lat": 35.6685977
234 }
235 },
236 "customer": {
237 "email": "ptchuongk57@gmail.com",
238 "name": "Mai Phuong",
239 "geo_location": {
240 "long": null,
241 "lat": null
242 },
243 "id": "eb9c3200-e39c-11e7-b056-15611c0be52b",
244 "country_code": 84,
245 "phone": "0986440690",
246 "address": null,
247 "address_note": null
248 },
249 "order": {
250 "delivery_fee": 0,
251 "order_type": 2,
252 "source": 0,
253 "total_tax": 0,
254 "status": 4,
255 "total": 200000,
256 "delivery_time": 0,
257 "is_supplier": 0,
258 "order_number": 71,
259 "uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
260 "created_at": "2018-03-15 05:36:39",
261 "updated_at": "2018-03-15 05:38:16",
262 "note": "Giat kho",
263 "request_time": 0,
264 "env": null,
265 "transaction_id": "20180315053639000000",
266 "confirmed_at": "2018-03-15 05:36:39",
267 "handover": 0,
268 "total_discount": 0,
269 "price": 200000,
270 "qty": 2
271 },
272 "table": {}
273 },
274 {
275 "items": [
276 {
277 "amount": 100000,
278 "type": 0,
279 "total_discount": 0,
280 "price": 100000,
281 "tag_number": "0001",
282 "qty": 1,
283 "pretax_price": 100000,
284 "options": {
285 "breakdown": [],
286 "total": 0
287 },
288 "total_tax": 0,
289 "subtotal": 100000,
290 "image": {
291 "url_thumb": null,
292 "url": null
293 },
294 "total": 100000,
295 "name": "Tshirts3",
296 "category": {
297 "id": "0cf76b40-0c8c-11e8-9b58-fb6f35a4ddb0",
298 "name": "Clothing"
299 },
300 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
301 "pickup_date": "2018-03-16 12:00:00",
302 "option_set": [
303 {
304 "max_choice": 1,
305 "is_original": 0,
306 "outlet_uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a",
307 "opt_set_uuid": "10a63660-16bb-11e8-822c-f7f445921985",
308 "min_choice": 1,
309 "mandatory": 1,
310 "name": "Chuong",
311 "option": [
312 {
313 "price": -1000,
314 "opt_set_uuid": "10a63660-16bb-11e8-822c-f7f445921985",
315 "trackable": 0,
316 "name": "fcdffdfg",
317 "pivot": {
318 "option_uuid": "10a906a0-16bb-11e8-a872-47a1ea720efb",
319 "price": -1000,
320 "created_at": "2018-02-21 03:55:32",
321 "item_uuid": "109e7890-16bb-11e8-b407-bbae238524e2",
322 "updated_at": "2018-02-21 03:55:32"
323 },
324 "id": null,
325 "uuid": null,
326 "created_at": "2018-02-21 03:55:32",
327 "photo": null,
328 "updated_at": "2018-02-21 03:55:32",
329 "option_uuid": "10a906a0-16bb-11e8-a872-47a1ea720efb",
330 "is_original": 0,
331 "type": "option"
332 }
333 ],
334 "id": null,
335 "created_at": "2018-02-21 03:55:32",
336 "multiple_choice": 1,
337 "updated_at": "2018-02-21 03:55:32",
338 "multiple_option": 1
339 }
340 ],
341 "delivery_date": "2018-03-16 12:00:00"
342 },
343 {
344 "amount": 100000,
345 "type": 0,
346 "total_discount": 0,
347 "price": 100000,
348 "tag_number": "0002",
349 "qty": 1,
350 "pretax_price": 100000,
351 "options": {
352 "breakdown": [],
353 "total": 0
354 },
355 "total_tax": 0,
356 "subtotal": 100000,
357 "image": {
358 "url_thumb": null,
359 "url": null
360 },
361 "total": 100000,
362 "name": "Tshirts2",
363 "category": {
364 "name": "Clothing",
365 "id": "0cf76b40-0c8c-11e8-9b58-fb6f35a4ddb0"
366 },
367 "id": "259e4da0-2273-11e8-a223-0b7307743457",
368 "pickup_date": "2018-03-16 12:00:00",
369 "option_set": [
370 {
371 "opt_set_uuid": "25aa60f0-2273-11e8-8782-4df4c2b97150",
372 "min_choice": 1,
373 "mandatory": 1,
374 "name": "Chuong",
375 "option": [
376 {
377 "trackable": 0,
378 "name": "fcdffdfg",
379 "pivot": {
380 "option_uuid": "25acf240-2273-11e8-8631-d3cd5deee96e",
381 "price": 0,
382 "created_at": "2018-03-08 01:50:58",
383 "item_uuid": "259e4da0-2273-11e8-a223-0b7307743457",
384 "updated_at": "2018-03-08 01:50:58"
385 },
386 "id": null,
387 "uuid": null,
388 "created_at": "2018-03-08 01:50:58",
389 "photo": null,
390 "updated_at": "2018-03-08 01:50:58",
391 "option_uuid": "25acf240-2273-11e8-8631-d3cd5deee96e",
392 "is_original": 0,
393 "type": "option",
394 "price": 0,
395 "opt_set_uuid": "25aa60f0-2273-11e8-8782-4df4c2b97150"
396 }
397 ],
398 "id": null,
399 "created_at": "2018-03-08 01:50:58",
400 "multiple_choice": 1,
401 "updated_at": "2018-03-08 01:50:58",
402 "multiple_option": 1,
403 "max_choice": 1,
404 "is_original": 0,
405 "outlet_uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a"
406 }
407 ]
408 }
409 ],
410 "order": {
411 "delivery_fee": 0,
412 "order_type": 2,
413 "source": 0,
414 "total_tax": 0,
415 "status": 4,
416 "total": 200000,
417 "delivery_time": 0,
418 "is_supplier": 0,
419 "order_number": 71,
420 "uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
421 "created_at": "2018-03-15 05:36:39",
422 "updated_at": "2018-03-15 06:20:49",
423 "note": "Giat kho",
424 "request_time": 0,
425 "env": null,
426 "transaction_id": "20180315053639000000",
427 "confirmed_at": "2018-03-15 05:36:39",
428 "handover": 0,
429 "total_discount": 0,
430 "price": 200000,
431 "qty": 2
432 },
433 "outlet": {
434 "currency": {
435 "name_plural": "Japanese yen",
436 "code": "JPY",
437 "decimal_digits": 0,
438 "symbol_position": 0,
439 "symbol": "Â¥",
440 "rounding": 0,
441 "name": "Japanese Yen",
442 "symbol_native": "ï¿¥"
443 },
444 "uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a",
445 "phone": "983145327",
446 "address": "日本ã€ã€’104-0061 æ±äº¬éƒ½ä¸å¤®åŒºéŠ€åº§ï¼˜ä¸ç›®",
447 "name": "ランドリーæ±äº¬",
448 "geo_location": {
449 "long": 139.7610788,
450 "lat": 35.6685977
451 }
452 },
453 "customer": {
454 "email": "ptchuongk57@gmail.com",
455 "name": "Mai Phuong",
456 "geo_location": {
457 "long": null,
458 "lat": null
459 },
460 "id": "eb9c3200-e39c-11e7-b056-15611c0be52b",
461 "country_code": 84,
462 "phone": "0986440690",
463 "address": null,
464 "address_note": null
465 },
466 "table": {}
467 }
468 ]
469 },
470 {
471 "file": "/Users/buidan/Documents/projects/hottab/donut-api/app/Service/OrderService.php",
472 "line": 365,
473 "function": "updateOrderObjects",
474 "class": "App\\Service\\OrderService",
475 "type": "->",
476 "args": [
477 {
478 "order_uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
479 "payment": [
480 {
481 "type": 1,
482 "amount": 200000,
483 "name": "ATM",
484 "change": 0,
485 "remark": [
486 "string"
487 ],
488 "signature": "string"
489 }
490 ],
491 "items": [
492 {
493 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
494 "item_quantity": 1,
495 "pickup_date": "2018-03-16 12:00:00",
496 "tag_number": "0001",
497 "delivery_date": "2018-03-16 12:00:00",
498 "item_options": []
499 },
500 {
501 "id": "259e4da0-2273-11e8-a223-0b7307743457",
502 "item_quantity": 1,
503 "pickup_date": "2018-03-16 12:00:00",
504 "tag_number": "0002",
505 "item_options": []
506 }
507 ],
508 "customer": {
509 "customer_uuid": "eb9c3200-e39c-11e7-b056-15611c0be52b",
510 "customer_phone": "0986440690"
511 },
512 "request_time": 0,
513 "order_type": 2,
514 "order_note": "Giat kho",
515 "device_id": "IOS0005",
516 "supplier_order": 0,
517 "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
518 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk"
519 },
520 {
521 "order": {
522 "delivery_fee": 0,
523 "order_type": 2,
524 "source": 0,
525 "total_tax": 0,
526 "status": 4,
527 "total": 200000,
528 "delivery_time": 0,
529 "is_supplier": 0,
530 "order_number": 71,
531 "uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
532 "created_at": "2018-03-15 05:36:39",
533 "updated_at": "2018-03-15 05:38:16",
534 "note": "Giat kho",
535 "request_time": 0,
536 "env": null,
537 "transaction_id": "20180315053639000000",
538 "confirmed_at": "2018-03-15 05:36:39",
539 "handover": 0,
540 "total_discount": 0,
541 "price": 200000,
542 "qty": 2
543 },
544 "outlet": {
545 "currency": {
546 "name_plural": "Japanese yen",
547 "code": "JPY",
548 "decimal_digits": 0,
549 "symbol_position": 0,
550 "symbol": "Â¥",
551 "rounding": 0,
552 "name": "Japanese Yen",
553 "symbol_native": "ï¿¥"
554 },
555 "uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a",
556 "phone": "983145327",
557 "address": "日本ã€ã€’104-0061 æ±äº¬éƒ½ä¸å¤®åŒºéŠ€åº§ï¼˜ä¸ç›®",
558 "name": "ランドリーæ±äº¬",
559 "geo_location": {
560 "long": 139.7610788,
561 "lat": 35.6685977
562 }
563 },
564 "customer": {
565 "email": "ptchuongk57@gmail.com",
566 "name": "Mai Phuong",
567 "geo_location": {
568 "long": null,
569 "lat": null
570 },
571 "id": "eb9c3200-e39c-11e7-b056-15611c0be52b",
572 "country_code": 84,
573 "phone": "0986440690",
574 "address": null,
575 "address_note": null
576 },
577 "table": {},
578 "items": [
579 {
580 "amount": 100000,
581 "type": 0,
582 "total_discount": 0,
583 "price": 100000,
584 "tag_number": "0001",
585 "qty": 1,
586 "pretax_price": 100000,
587 "options": {
588 "breakdown": [],
589 "total": 0
590 },
591 "total_tax": 0,
592 "subtotal": 100000,
593 "image": {
594 "url_thumb": null,
595 "url": null
596 },
597 "total": 100000,
598 "name": "Tshirts3",
599 "category": {
600 "id": "0cf76b40-0c8c-11e8-9b58-fb6f35a4ddb0",
601 "name": "Clothing"
602 },
603 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
604 "pickup_date": "2018-03-16 12:00:00",
605 "option_set": [
606 {
607 "max_choice": 1,
608 "is_original": 0,
609 "outlet_uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a",
610 "opt_set_uuid": "10a63660-16bb-11e8-822c-f7f445921985",
611 "min_choice": 1,
612 "mandatory": 1,
613 "name": "Chuong",
614 "option": [
615 {
616 "price": -1000,
617 "opt_set_uuid": "10a63660-16bb-11e8-822c-f7f445921985",
618 "trackable": 0,
619 "name": "fcdffdfg",
620 "pivot": {
621 "option_uuid": "10a906a0-16bb-11e8-a872-47a1ea720efb",
622 "price": -1000,
623 "created_at": "2018-02-21 03:55:32",
624 "item_uuid": "109e7890-16bb-11e8-b407-bbae238524e2",
625 "updated_at": "2018-02-21 03:55:32"
626 },
627 "id": null,
628 "uuid": null,
629 "created_at": "2018-02-21 03:55:32",
630 "photo": null,
631 "updated_at": "2018-02-21 03:55:32",
632 "option_uuid": "10a906a0-16bb-11e8-a872-47a1ea720efb",
633 "is_original": 0,
634 "type": "option"
635 }
636 ],
637 "id": null,
638 "created_at": "2018-02-21 03:55:32",
639 "multiple_choice": 1,
640 "updated_at": "2018-02-21 03:55:32",
641 "multiple_option": 1
642 }
643 ]
644 },
645 {
646 "amount": 100000,
647 "type": 0,
648 "total_discount": 0,
649 "price": 100000,
650 "tag_number": "0002",
651 "qty": 1,
652 "pretax_price": 100000,
653 "options": {
654 "breakdown": [],
655 "total": 0
656 },
657 "total_tax": 0,
658 "subtotal": 100000,
659 "image": {
660 "url_thumb": null,
661 "url": null
662 },
663 "total": 100000,
664 "name": "Tshirts2",
665 "category": {
666 "name": "Clothing",
667 "id": "0cf76b40-0c8c-11e8-9b58-fb6f35a4ddb0"
668 },
669 "id": "259e4da0-2273-11e8-a223-0b7307743457",
670 "pickup_date": "2018-03-16 12:00:00",
671 "option_set": [
672 {
673 "opt_set_uuid": "25aa60f0-2273-11e8-8782-4df4c2b97150",
674 "min_choice": 1,
675 "mandatory": 1,
676 "name": "Chuong",
677 "option": [
678 {
679 "trackable": 0,
680 "name": "fcdffdfg",
681 "pivot": {
682 "option_uuid": "25acf240-2273-11e8-8631-d3cd5deee96e",
683 "price": 0,
684 "created_at": "2018-03-08 01:50:58",
685 "item_uuid": "259e4da0-2273-11e8-a223-0b7307743457",
686 "updated_at": "2018-03-08 01:50:58"
687 },
688 "id": null,
689 "uuid": null,
690 "created_at": "2018-03-08 01:50:58",
691 "photo": null,
692 "updated_at": "2018-03-08 01:50:58",
693 "option_uuid": "25acf240-2273-11e8-8631-d3cd5deee96e",
694 "is_original": 0,
695 "type": "option",
696 "price": 0,
697 "opt_set_uuid": "25aa60f0-2273-11e8-8782-4df4c2b97150"
698 }
699 ],
700 "id": null,
701 "created_at": "2018-03-08 01:50:58",
702 "multiple_choice": 1,
703 "updated_at": "2018-03-08 01:50:58",
704 "multiple_option": 1,
705 "max_choice": 1,
706 "is_original": 0,
707 "outlet_uuid": "c8318db0-0c88-11e8-aed8-0f9c7c6d703a"
708 }
709 ]
710 }
711 ]
712 },
713 []
714 ]
715 },
716 {
717 "file": "/Users/buidan/Documents/projects/hottab/donut-api/app/Http/Controllers/Consumer/OrderController.php",
718 "line": 73,
719 "function": "updateOrder",
720 "class": "App\\Service\\OrderService",
721 "type": "->",
722 "args": [
723 {
724 "order_uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
725 "payment": [
726 {
727 "type": 1,
728 "amount": 200000,
729 "name": "ATM",
730 "change": 0,
731 "remark": [
732 "string"
733 ],
734 "signature": "string"
735 }
736 ],
737 "items": [
738 {
739 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
740 "item_quantity": 1,
741 "pickup_date": "2018-03-16 12:00:00",
742 "tag_number": "0001",
743 "delivery_date": "2018-03-16 12:00:00",
744 "item_options": []
745 },
746 {
747 "id": "259e4da0-2273-11e8-a223-0b7307743457",
748 "item_quantity": 1,
749 "pickup_date": "2018-03-16 12:00:00",
750 "tag_number": "0002",
751 "item_options": []
752 }
753 ],
754 "customer": {
755 "customer_uuid": "eb9c3200-e39c-11e7-b056-15611c0be52b",
756 "customer_phone": "0986440690"
757 },
758 "request_time": 0,
759 "order_type": 2,
760 "order_note": "Giat kho",
761 "device_id": "IOS0005",
762 "supplier_order": 0,
763 "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
764 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk"
765 },
766 []
767 ]
768 },
769 {
770 "function": "updateOrder",
771 "class": "App\\Http\\Controllers\\Consumer\\OrderController",
772 "type": "->",
773 "args": [
774 {
775 "gg_config": {
776 "projectId": "hottab-in",
777 "keyFilePath": "/Users/buidan/Documents/projects/hottab/credentials/HOTTABIN-81ea2ff09de7.json"
778 }
779 }
780 ]
781 },
782 {
783 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
784 "line": 55,
785 "function": "call_user_func_array",
786 "args": [
787 [
788 {
789 "request": null,
790 "input": {
791 "order_uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
792 "payment": [
793 {
794 "type": 1,
795 "amount": 200000,
796 "name": "ATM",
797 "change": 0,
798 "remark": [
799 "string"
800 ],
801 "signature": "string"
802 }
803 ],
804 "items": [
805 {
806 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
807 "item_quantity": 1,
808 "pickup_date": "2018-03-16 12:00:00",
809 "tag_number": "0001",
810 "delivery_date": "2018-03-16 12:00:00",
811 "item_options": []
812 },
813 {
814 "id": "259e4da0-2273-11e8-a223-0b7307743457",
815 "item_quantity": 1,
816 "pickup_date": "2018-03-16 12:00:00",
817 "tag_number": "0002",
818 "item_options": []
819 }
820 ],
821 "customer": {
822 "customer_uuid": "eb9c3200-e39c-11e7-b056-15611c0be52b",
823 "customer_phone": "0986440690"
824 },
825 "request_time": 0,
826 "order_type": 2,
827 "order_note": "Giat kho",
828 "device_id": "IOS0005",
829 "supplier_order": 0,
830 "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
831 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk"
832 },
833 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk",
834 "user": {
835 "id": null,
836 "user_uuid": "561cb550-0c88-11e8-b365-b5491f09f235",
837 "email": "ptchuong2018@gmail.com",
838 "first_name": null,
839 "last_name": null,
840 "phone": null,
841 "status": 1,
842 "boarding_step": 3,
843 "photo": null,
844 "created_by": null,
845 "type": 1,
846 "provider": null,
847 "provider_id": null,
848 "created_at": "2018-02-08 04:27:13",
849 "updated_at": "2018-02-08 04:29:22",
850 "verified": 1
851 },
852 "lang": {
853 "id": 1,
854 "name": "English - English",
855 "iso_code": "en",
856 "order": 2
857 }
858 },
859 "updateOrder"
860 ],
861 [
862 {
863 "gg_config": {
864 "projectId": "hottab-in",
865 "keyFilePath": "/Users/buidan/Documents/projects/hottab/credentials/HOTTABIN-81ea2ff09de7.json"
866 }
867 }
868 ]
869 ]
870 },
871 {
872 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
873 "line": 44,
874 "function": "callAction",
875 "class": "Illuminate\\Routing\\Controller",
876 "type": "->",
877 "args": [
878 "updateOrder",
879 [
880 {
881 "gg_config": {
882 "projectId": "hottab-in",
883 "keyFilePath": "/Users/buidan/Documents/projects/hottab/credentials/HOTTABIN-81ea2ff09de7.json"
884 }
885 }
886 ]
887 ]
888 },
889 {
890 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
891 "line": 203,
892 "function": "dispatch",
893 "class": "Illuminate\\Routing\\ControllerDispatcher",
894 "type": "->",
895 "args": [
896 {
897 "uri": "orders",
898 "methods": [
899 "PUT"
900 ],
901 "action": {
902 "middleware": [
903 "check-route-key",
904 "user.roles"
905 ],
906 "uses": "\\App\\Http\\Controllers\\Consumer\\OrderController@updateOrder",
907 "controller": "\\App\\Http\\Controllers\\Consumer\\OrderController@updateOrder",
908 "namespace": "\\App\\Http\\Controllers\\Consumer",
909 "prefix": "orders",
910 "where": []
911 },
912 "controller": {
913 "request": null,
914 "input": {
915 "order_uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
916 "payment": [
917 {
918 "type": 1,
919 "amount": 200000,
920 "name": "ATM",
921 "change": 0,
922 "remark": [
923 "string"
924 ],
925 "signature": "string"
926 }
927 ],
928 "items": [
929 {
930 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
931 "item_quantity": 1,
932 "pickup_date": "2018-03-16 12:00:00",
933 "tag_number": "0001",
934 "delivery_date": "2018-03-16 12:00:00",
935 "item_options": []
936 },
937 {
938 "id": "259e4da0-2273-11e8-a223-0b7307743457",
939 "item_quantity": 1,
940 "pickup_date": "2018-03-16 12:00:00",
941 "tag_number": "0002",
942 "item_options": []
943 }
944 ],
945 "customer": {
946 "customer_uuid": "eb9c3200-e39c-11e7-b056-15611c0be52b",
947 "customer_phone": "0986440690"
948 },
949 "request_time": 0,
950 "order_type": 2,
951 "order_note": "Giat kho",
952 "device_id": "IOS0005",
953 "supplier_order": 0,
954 "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
955 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk"
956 },
957 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk",
958 "user": {
959 "id": null,
960 "user_uuid": "561cb550-0c88-11e8-b365-b5491f09f235",
961 "email": "ptchuong2018@gmail.com",
962 "first_name": null,
963 "last_name": null,
964 "phone": null,
965 "status": 1,
966 "boarding_step": 3,
967 "photo": null,
968 "created_by": null,
969 "type": 1,
970 "provider": null,
971 "provider_id": null,
972 "created_at": "2018-02-08 04:27:13",
973 "updated_at": "2018-02-08 04:29:22",
974 "verified": 1
975 },
976 "lang": {
977 "id": 1,
978 "name": "English - English",
979 "iso_code": "en",
980 "order": 2
981 }
982 },
983 "defaults": [],
984 "wheres": [],
985 "parameters": [],
986 "parameterNames": [],
987 "computedMiddleware": [
988 "check-route-key",
989 "user.roles"
990 ],
991 "compiled": {}
992 },
993 {
994 "request": null,
995 "input": {
996 "order_uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
997 "payment": [
998 {
999 "type": 1,
1000 "amount": 200000,
1001 "name": "ATM",
1002 "change": 0,
1003 "remark": [
1004 "string"
1005 ],
1006 "signature": "string"
1007 }
1008 ],
1009 "items": [
1010 {
1011 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
1012 "item_quantity": 1,
1013 "pickup_date": "2018-03-16 12:00:00",
1014 "tag_number": "0001",
1015 "delivery_date": "2018-03-16 12:00:00",
1016 "item_options": []
1017 },
1018 {
1019 "id": "259e4da0-2273-11e8-a223-0b7307743457",
1020 "item_quantity": 1,
1021 "pickup_date": "2018-03-16 12:00:00",
1022 "tag_number": "0002",
1023 "item_options": []
1024 }
1025 ],
1026 "customer": {
1027 "customer_uuid": "eb9c3200-e39c-11e7-b056-15611c0be52b",
1028 "customer_phone": "0986440690"
1029 },
1030 "request_time": 0,
1031 "order_type": 2,
1032 "order_note": "Giat kho",
1033 "device_id": "IOS0005",
1034 "supplier_order": 0,
1035 "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
1036 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk"
1037 },
1038 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk",
1039 "user": {
1040 "id": null,
1041 "user_uuid": "561cb550-0c88-11e8-b365-b5491f09f235",
1042 "email": "ptchuong2018@gmail.com",
1043 "first_name": null,
1044 "last_name": null,
1045 "phone": null,
1046 "status": 1,
1047 "boarding_step": 3,
1048 "photo": null,
1049 "created_by": null,
1050 "type": 1,
1051 "provider": null,
1052 "provider_id": null,
1053 "created_at": "2018-02-08 04:27:13",
1054 "updated_at": "2018-02-08 04:29:22",
1055 "verified": 1
1056 },
1057 "lang": {
1058 "id": 1,
1059 "name": "English - English",
1060 "iso_code": "en",
1061 "order": 2
1062 }
1063 },
1064 "updateOrder"
1065 ]
1066 },
1067 {
1068 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
1069 "line": 160,
1070 "function": "runController",
1071 "class": "Illuminate\\Routing\\Route",
1072 "type": "->",
1073 "args": []
1074 },
1075 {
1076 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
1077 "line": 572,
1078 "function": "run",
1079 "class": "Illuminate\\Routing\\Route",
1080 "type": "->",
1081 "args": []
1082 },
1083 {
1084 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1085 "line": 30,
1086 "function": "Illuminate\\Routing\\{closure}",
1087 "class": "Illuminate\\Routing\\Router",
1088 "type": "->",
1089 "args": [
1090 {
1091 "attributes": {},
1092 "request": {},
1093 "query": {},
1094 "server": {},
1095 "files": {},
1096 "cookies": {},
1097 "headers": {}
1098 }
1099 ]
1100 },
1101 {
1102 "file": "/Users/buidan/Documents/projects/hottab/donut-api/app/Http/Middleware/CheckRoles.php",
1103 "line": 69,
1104 "function": "Illuminate\\Routing\\{closure}",
1105 "class": "Illuminate\\Routing\\Pipeline",
1106 "type": "->",
1107 "args": [
1108 {
1109 "attributes": {},
1110 "request": {},
1111 "query": {},
1112 "server": {},
1113 "files": {},
1114 "cookies": {},
1115 "headers": {}
1116 }
1117 ]
1118 },
1119 {
1120 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1121 "line": 148,
1122 "function": "handle",
1123 "class": "App\\Http\\Middleware\\CheckRoles",
1124 "type": "->",
1125 "args": [
1126 {
1127 "attributes": {},
1128 "request": {},
1129 "query": {},
1130 "server": {},
1131 "files": {},
1132 "cookies": {},
1133 "headers": {}
1134 },
1135 {}
1136 ]
1137 },
1138 {
1139 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1140 "line": 53,
1141 "function": "Illuminate\\Pipeline\\{closure}",
1142 "class": "Illuminate\\Pipeline\\Pipeline",
1143 "type": "->",
1144 "args": [
1145 {
1146 "attributes": {},
1147 "request": {},
1148 "query": {},
1149 "server": {},
1150 "files": {},
1151 "cookies": {},
1152 "headers": {}
1153 }
1154 ]
1155 },
1156 {
1157 "file": "/Users/buidan/Documents/projects/hottab/donut-api/app/Http/Middleware/CheckRouteKey.php",
1158 "line": 59,
1159 "function": "Illuminate\\Routing\\{closure}",
1160 "class": "Illuminate\\Routing\\Pipeline",
1161 "type": "->",
1162 "args": [
1163 {
1164 "attributes": {},
1165 "request": {},
1166 "query": {},
1167 "server": {},
1168 "files": {},
1169 "cookies": {},
1170 "headers": {}
1171 }
1172 ]
1173 },
1174 {
1175 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1176 "line": 148,
1177 "function": "handle",
1178 "class": "App\\Http\\Middleware\\CheckRouteKey",
1179 "type": "->",
1180 "args": [
1181 {
1182 "attributes": {},
1183 "request": {},
1184 "query": {},
1185 "server": {},
1186 "files": {},
1187 "cookies": {},
1188 "headers": {}
1189 },
1190 {}
1191 ]
1192 },
1193 {
1194 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1195 "line": 53,
1196 "function": "Illuminate\\Pipeline\\{closure}",
1197 "class": "Illuminate\\Pipeline\\Pipeline",
1198 "type": "->",
1199 "args": [
1200 {
1201 "attributes": {},
1202 "request": {},
1203 "query": {},
1204 "server": {},
1205 "files": {},
1206 "cookies": {},
1207 "headers": {}
1208 }
1209 ]
1210 },
1211 {
1212 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1213 "line": 102,
1214 "function": "Illuminate\\Routing\\{closure}",
1215 "class": "Illuminate\\Routing\\Pipeline",
1216 "type": "->",
1217 "args": [
1218 {
1219 "attributes": {},
1220 "request": {},
1221 "query": {},
1222 "server": {},
1223 "files": {},
1224 "cookies": {},
1225 "headers": {}
1226 }
1227 ]
1228 },
1229 {
1230 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
1231 "line": 574,
1232 "function": "then",
1233 "class": "Illuminate\\Pipeline\\Pipeline",
1234 "type": "->",
1235 "args": [
1236 {}
1237 ]
1238 },
1239 {
1240 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
1241 "line": 533,
1242 "function": "runRouteWithinStack",
1243 "class": "Illuminate\\Routing\\Router",
1244 "type": "->",
1245 "args": [
1246 {
1247 "uri": "orders",
1248 "methods": [
1249 "PUT"
1250 ],
1251 "action": {
1252 "middleware": [
1253 "check-route-key",
1254 "user.roles"
1255 ],
1256 "uses": "\\App\\Http\\Controllers\\Consumer\\OrderController@updateOrder",
1257 "controller": "\\App\\Http\\Controllers\\Consumer\\OrderController@updateOrder",
1258 "namespace": "\\App\\Http\\Controllers\\Consumer",
1259 "prefix": "orders",
1260 "where": []
1261 },
1262 "controller": {
1263 "request": null,
1264 "input": {
1265 "order_uuid": "d5bdbf80-2812-11e8-8ffe-b7efab583af5",
1266 "payment": [
1267 {
1268 "type": 1,
1269 "amount": 200000,
1270 "name": "ATM",
1271 "change": 0,
1272 "remark": [
1273 "string"
1274 ],
1275 "signature": "string"
1276 }
1277 ],
1278 "items": [
1279 {
1280 "id": "109e7890-16bb-11e8-b407-bbae238524e2",
1281 "item_quantity": 1,
1282 "pickup_date": "2018-03-16 12:00:00",
1283 "tag_number": "0001",
1284 "delivery_date": "2018-03-16 12:00:00",
1285 "item_options": []
1286 },
1287 {
1288 "id": "259e4da0-2273-11e8-a223-0b7307743457",
1289 "item_quantity": 1,
1290 "pickup_date": "2018-03-16 12:00:00",
1291 "tag_number": "0002",
1292 "item_options": []
1293 }
1294 ],
1295 "customer": {
1296 "customer_uuid": "eb9c3200-e39c-11e7-b056-15611c0be52b",
1297 "customer_phone": "0986440690"
1298 },
1299 "request_time": 0,
1300 "order_type": 2,
1301 "order_note": "Giat kho",
1302 "device_id": "IOS0005",
1303 "supplier_order": 0,
1304 "secret_key": "qbktxJY33PKha53jkCpdu6CkFJNZvqds",
1305 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk"
1306 },
1307 "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NjFjYjU1MC0wYzg4LTExZTgtYjM2NS1iNTQ5MWYwOWYyMzUiLCJpc3MiOiJodHRwczovL2FjbC1kb3QtaG90dGFiLWluLmFwcHNwb3QuY29tL2FwaS9hZG1pbi1sb2dpbiIsImlhdCI6MTUyMTA5MTE1OSwiZXhwIjoxNTIyMzAwNzU5LCJuYmYiOjE1MjEwOTExNTksImp0aSI6IkJydnkxUFhLVFNibWN1THQiLCJpc19yZWZyZXNoX3Rva2VuIjp0cnVlfQ.hH4Jsb4M2gl6H9XZwAlD0b5TboKLTZWkICQ9x-bS-Gk",
1308 "user": {
1309 "id": null,
1310 "user_uuid": "561cb550-0c88-11e8-b365-b5491f09f235",
1311 "email": "ptchuong2018@gmail.com",
1312 "first_name": null,
1313 "last_name": null,
1314 "phone": null,
1315 "status": 1,
1316 "boarding_step": 3,
1317 "photo": null,
1318 "created_by": null,
1319 "type": 1,
1320 "provider": null,
1321 "provider_id": null,
1322 "created_at": "2018-02-08 04:27:13",
1323 "updated_at": "2018-02-08 04:29:22",
1324 "verified": 1
1325 },
1326 "lang": {
1327 "id": 1,
1328 "name": "English - English",
1329 "iso_code": "en",
1330 "order": 2
1331 }
1332 },
1333 "defaults": [],
1334 "wheres": [],
1335 "parameters": [],
1336 "parameterNames": [],
1337 "computedMiddleware": [
1338 "check-route-key",
1339 "user.roles"
1340 ],
1341 "compiled": {}
1342 },
1343 {
1344 "attributes": {},
1345 "request": {},
1346 "query": {},
1347 "server": {},
1348 "files": {},
1349 "cookies": {},
1350 "headers": {}
1351 }
1352 ]
1353 },
1354 {
1355 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
1356 "line": 511,
1357 "function": "dispatchToRoute",
1358 "class": "Illuminate\\Routing\\Router",
1359 "type": "->",
1360 "args": [
1361 {
1362 "attributes": {},
1363 "request": {},
1364 "query": {},
1365 "server": {},
1366 "files": {},
1367 "cookies": {},
1368 "headers": {}
1369 }
1370 ]
1371 },
1372 {
1373 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
1374 "line": 176,
1375 "function": "dispatch",
1376 "class": "Illuminate\\Routing\\Router",
1377 "type": "->",
1378 "args": [
1379 {
1380 "attributes": {},
1381 "request": {},
1382 "query": {},
1383 "server": {},
1384 "files": {},
1385 "cookies": {},
1386 "headers": {}
1387 }
1388 ]
1389 },
1390 {
1391 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1392 "line": 30,
1393 "function": "Illuminate\\Foundation\\Http\\{closure}",
1394 "class": "Illuminate\\Foundation\\Http\\Kernel",
1395 "type": "->",
1396 "args": [
1397 {
1398 "attributes": {},
1399 "request": {},
1400 "query": {},
1401 "server": {},
1402 "files": {},
1403 "cookies": {},
1404 "headers": {}
1405 }
1406 ]
1407 },
1408 {
1409 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/barryvdh/laravel-cors/src/HandleCors.php",
1410 "line": 37,
1411 "function": "Illuminate\\Routing\\{closure}",
1412 "class": "Illuminate\\Routing\\Pipeline",
1413 "type": "->",
1414 "args": [
1415 {
1416 "attributes": {},
1417 "request": {},
1418 "query": {},
1419 "server": {},
1420 "files": {},
1421 "cookies": {},
1422 "headers": {}
1423 }
1424 ]
1425 },
1426 {
1427 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1428 "line": 148,
1429 "function": "handle",
1430 "class": "Barryvdh\\Cors\\HandleCors",
1431 "type": "->",
1432 "args": [
1433 {
1434 "attributes": {},
1435 "request": {},
1436 "query": {},
1437 "server": {},
1438 "files": {},
1439 "cookies": {},
1440 "headers": {}
1441 },
1442 {}
1443 ]
1444 },
1445 {
1446 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1447 "line": 53,
1448 "function": "Illuminate\\Pipeline\\{closure}",
1449 "class": "Illuminate\\Pipeline\\Pipeline",
1450 "type": "->",
1451 "args": [
1452 {
1453 "attributes": {},
1454 "request": {},
1455 "query": {},
1456 "server": {},
1457 "files": {},
1458 "cookies": {},
1459 "headers": {}
1460 }
1461 ]
1462 },
1463 {
1464 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
1465 "line": 30,
1466 "function": "Illuminate\\Routing\\{closure}",
1467 "class": "Illuminate\\Routing\\Pipeline",
1468 "type": "->",
1469 "args": [
1470 {
1471 "attributes": {},
1472 "request": {},
1473 "query": {},
1474 "server": {},
1475 "files": {},
1476 "cookies": {},
1477 "headers": {}
1478 }
1479 ]
1480 },
1481 {
1482 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1483 "line": 148,
1484 "function": "handle",
1485 "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
1486 "type": "->",
1487 "args": [
1488 {
1489 "attributes": {},
1490 "request": {},
1491 "query": {},
1492 "server": {},
1493 "files": {},
1494 "cookies": {},
1495 "headers": {}
1496 },
1497 {}
1498 ]
1499 },
1500 {
1501 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1502 "line": 53,
1503 "function": "Illuminate\\Pipeline\\{closure}",
1504 "class": "Illuminate\\Pipeline\\Pipeline",
1505 "type": "->",
1506 "args": [
1507 {
1508 "attributes": {},
1509 "request": {},
1510 "query": {},
1511 "server": {},
1512 "files": {},
1513 "cookies": {},
1514 "headers": {}
1515 }
1516 ]
1517 },
1518 {
1519 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
1520 "line": 30,
1521 "function": "Illuminate\\Routing\\{closure}",
1522 "class": "Illuminate\\Routing\\Pipeline",
1523 "type": "->",
1524 "args": [
1525 {
1526 "attributes": {},
1527 "request": {},
1528 "query": {},
1529 "server": {},
1530 "files": {},
1531 "cookies": {},
1532 "headers": {}
1533 }
1534 ]
1535 },
1536 {
1537 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1538 "line": 148,
1539 "function": "handle",
1540 "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
1541 "type": "->",
1542 "args": [
1543 {
1544 "attributes": {},
1545 "request": {},
1546 "query": {},
1547 "server": {},
1548 "files": {},
1549 "cookies": {},
1550 "headers": {}
1551 },
1552 {}
1553 ]
1554 },
1555 {
1556 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1557 "line": 53,
1558 "function": "Illuminate\\Pipeline\\{closure}",
1559 "class": "Illuminate\\Pipeline\\Pipeline",
1560 "type": "->",
1561 "args": [
1562 {
1563 "attributes": {},
1564 "request": {},
1565 "query": {},
1566 "server": {},
1567 "files": {},
1568 "cookies": {},
1569 "headers": {}
1570 }
1571 ]
1572 },
1573 {
1574 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
1575 "line": 27,
1576 "function": "Illuminate\\Routing\\{closure}",
1577 "class": "Illuminate\\Routing\\Pipeline",
1578 "type": "->",
1579 "args": [
1580 {
1581 "attributes": {},
1582 "request": {},
1583 "query": {},
1584 "server": {},
1585 "files": {},
1586 "cookies": {},
1587 "headers": {}
1588 }
1589 ]
1590 },
1591 {
1592 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1593 "line": 148,
1594 "function": "handle",
1595 "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
1596 "type": "->",
1597 "args": [
1598 {
1599 "attributes": {},
1600 "request": {},
1601 "query": {},
1602 "server": {},
1603 "files": {},
1604 "cookies": {},
1605 "headers": {}
1606 },
1607 {}
1608 ]
1609 },
1610 {
1611 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1612 "line": 53,
1613 "function": "Illuminate\\Pipeline\\{closure}",
1614 "class": "Illuminate\\Pipeline\\Pipeline",
1615 "type": "->",
1616 "args": [
1617 {
1618 "attributes": {},
1619 "request": {},
1620 "query": {},
1621 "server": {},
1622 "files": {},
1623 "cookies": {},
1624 "headers": {}
1625 }
1626 ]
1627 },
1628 {
1629 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
1630 "line": 46,
1631 "function": "Illuminate\\Routing\\{closure}",
1632 "class": "Illuminate\\Routing\\Pipeline",
1633 "type": "->",
1634 "args": [
1635 {
1636 "attributes": {},
1637 "request": {},
1638 "query": {},
1639 "server": {},
1640 "files": {},
1641 "cookies": {},
1642 "headers": {}
1643 }
1644 ]
1645 },
1646 {
1647 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1648 "line": 148,
1649 "function": "handle",
1650 "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
1651 "type": "->",
1652 "args": [
1653 {
1654 "attributes": {},
1655 "request": {},
1656 "query": {},
1657 "server": {},
1658 "files": {},
1659 "cookies": {},
1660 "headers": {}
1661 },
1662 {}
1663 ]
1664 },
1665 {
1666 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
1667 "line": 53,
1668 "function": "Illuminate\\Pipeline\\{closure}",
1669 "class": "Illuminate\\Pipeline\\Pipeline",
1670 "type": "->",
1671 "args": [
1672 {
1673 "attributes": {},
1674 "request": {},
1675 "query": {},
1676 "server": {},
1677 "files": {},
1678 "cookies": {},
1679 "headers": {}
1680 }
1681 ]
1682 },
1683 {
1684 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
1685 "line": 102,
1686 "function": "Illuminate\\Routing\\{closure}",
1687 "class": "Illuminate\\Routing\\Pipeline",
1688 "type": "->",
1689 "args": [
1690 {
1691 "attributes": {},
1692 "request": {},
1693 "query": {},
1694 "server": {},
1695 "files": {},
1696 "cookies": {},
1697 "headers": {}
1698 }
1699 ]
1700 },
1701 {
1702 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
1703 "line": 151,
1704 "function": "then",
1705 "class": "Illuminate\\Pipeline\\Pipeline",
1706 "type": "->",
1707 "args": [
1708 {}
1709 ]
1710 },
1711 {
1712 "file": "/Users/buidan/Documents/projects/hottab/donut-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
1713 "line": 116,
1714 "function": "sendRequestThroughRouter",
1715 "class": "Illuminate\\Foundation\\Http\\Kernel",
1716 "type": "->",
1717 "args": [
1718 {
1719 "attributes": {},
1720 "request": {},
1721 "query": {},
1722 "server": {},
1723 "files": {},
1724 "cookies": {},
1725 "headers": {}
1726 }
1727 ]
1728 },
1729 {
1730 "file": "/Users/buidan/Documents/projects/hottab/donut-api/public/index.php",
1731 "line": 55,
1732 "function": "handle",
1733 "class": "Illuminate\\Foundation\\Http\\Kernel",
1734 "type": "->",
1735 "args": [
1736 {
1737 "attributes": {},
1738 "request": {},
1739 "query": {},
1740 "server": {},
1741 "files": {},
1742 "cookies": {},
1743 "headers": {}
1744 }
1745 ]
1746 },
1747 {
1748 "file": "/Users/buidan/Documents/projects/hottab/donut-api/server.php",
1749 "line": 21,
1750 "args": [
1751 "/Users/buidan/Documents/projects/hottab/donut-api/public/index.php"
1752 ],
1753 "function": "require_once"
1754 }
1755 ],
1756 "general": {
1757 "message": "Value of type `stdClass` could not be serialized",
1758 "code": "value_of_type_stdclass_could_not_be_serialized"
1759 }
1760 }
1761}