Guest User

Untitled

a guest
Dec 18th, 2017
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.21 KB | None | 0 0
  1. <pre>Array
  2. (
  3. [0] => Array
  4. (
  5. [file] => /home/waitless/staging.waitlessmunch.co.uk/app/code/local/Mage/Api2/Model/Resource.php
  6. [line] => 226
  7. [function] => _create
  8. [class] => Ultrasonic_B1order_Model_Api2_Placeorder_Rest_Admin_V1
  9. [object] => Ultrasonic_B1order_Model_Api2_Placeorder_Rest_Admin_V1 Object
  10. (
  11. [_request:protected] => Mage_Api2_Model_Request Object
  12. (
  13. [_interpreter:protected] => Mage_Api2_Model_Request_Interpreter_Json Object
  14. (
  15. )
  16.  
  17. [_bodyParams:protected] => Array
  18. (
  19. [city] => London
  20. [email] => jaygajjar77@gmail.com
  21. [website_id] => 42
  22. [postcode] => NW9 8BJ
  23. [lastName] => Gajjar
  24. [street] => 1 main street
  25. [products] => Array
  26. (
  27. [0] => Array
  28. (
  29. [options] => Array
  30. (
  31. )
  32.  
  33. [qty] => 1
  34. [productId] => 1008
  35. )
  36.  
  37. )
  38.  
  39. [country_id] => GB
  40. [region_id] =>
  41. [customer_id] => 202
  42. [telephone] => 9904252434
  43. [delivery_time] => 2017-12-18 10:40:00
  44. [user_pickup_method] => collection
  45. [api_key] => sk_test_MswO4ecXwWocj8SIDsFAQrzs
  46. [processing_fee] => 0.5
  47. [payment_method] => Array
  48. (
  49. [ref_id] =>
  50. [code] => banktransfer
  51. )
  52.  
  53. [store_id] => 59
  54. [comments] => {\n\n}
  55. [quote_id] => 1199
  56. [firstName] => Jay
  57. [device_id] => FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4
  58. [grand_total] => 14.5
  59. )
  60.  
  61. [_paramSources:protected] => Array
  62. (
  63. [0] => _GET
  64. [1] => _POST
  65. )
  66.  
  67. [_requestUri:protected] => /api/rest/placeorder
  68. [_baseUrl:protected] =>
  69. [_basePath:protected] =>
  70. [_pathInfo:protected] => /placeorder
  71. [_params:protected] => Array
  72. (
  73. [api_type] => rest
  74. [model] => b1order/api2_placeorder
  75. [type] => placeorder
  76. [action_type] => collection
  77. )
  78.  
  79. [_rawBody:protected] => {
  80. "city": "London",
  81. "email": "jaygajjar77@gmail.com",
  82. "website_id": "42",
  83. "postcode": "NW9 8BJ",
  84. "lastName": "Gajjar",
  85. "street": "1 main street",
  86. "products": [
  87. {
  88. "options": {},
  89. "qty": "1",
  90. "productId": "1008"
  91. }
  92. ],
  93. "country_id": "GB",
  94. "region_id": "",
  95. "customer_id": "202",
  96. "telephone": "9904252434",
  97. "delivery_time": "2017-12-18 10:40:00",
  98. "user_pickup_method": "collection",
  99. "api_key": "sk_test_MswO4ecXwWocj8SIDsFAQrzs",
  100. "processing_fee": "0.5",
  101. "payment_method": {
  102. "ref_id": "",
  103. "code": "banktransfer"
  104. },
  105. "store_id": "59",
  106. "comments": "{\\n\\n}",
  107. "quote_id": "1199",
  108. "firstName": "Jay",
  109. "device_id": "FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4",
  110. "grand_total": 14.5
  111. }
  112. [_aliases:protected] => Array
  113. (
  114. )
  115.  
  116. [_dispatched:protected] =>
  117. [_module:protected] =>
  118. [_moduleKey:protected] => module
  119. [_controller:protected] =>
  120. [_controllerKey:protected] => controller
  121. [_action:protected] =>
  122. [_actionKey:protected] => action
  123. )
  124.  
  125. [_resourceType:protected] => placeorder
  126. [_apiType:protected] => rest
  127. [_version:protected] =>
  128. [_response:protected] => Mage_Api2_Model_Response Object
  129. (
  130. [_messages:protected] => Array
  131. (
  132. )
  133.  
  134. [_body:protected] => Array
  135. (
  136. )
  137.  
  138. [_exceptions:protected] => Array
  139. (
  140. )
  141.  
  142. [_headers:protected] => Array
  143. (
  144. )
  145.  
  146. [_headersRaw:protected] => Array
  147. (
  148. )
  149.  
  150. [_httpResponseCode:protected] => 200
  151. [_isRedirect:protected] =>
  152. [_renderExceptions:protected] =>
  153. [headersSentThrowsException] => 1
  154. )
  155.  
  156. [_filter:protected] => Mage_Api2_Model_Acl_Filter Object
  157. (
  158. [_allowedAttributes:protected] => Array
  159. (
  160. [0] => store_id
  161. [1] => message
  162. [2] => orderid
  163. [3] => incrementid
  164. [4] => website_id
  165. )
  166.  
  167. [_attributesToInclude:protected] =>
  168. [_resource:protected] => Ultrasonic_B1order_Model_Api2_Placeorder_Rest_Admin_V1 Object
  169. *RECURSION*
  170. )
  171.  
  172. [_renderer:protected] =>
  173. [_apiUser:protected] => Mage_Api2_Model_Auth_User_Admin Object
  174. (
  175. [_userId:protected] => 1
  176. [_role:protected] => 4
  177. )
  178.  
  179. [_userType:protected] => admin
  180. [_actionType:protected] => collection
  181. [_operation:protected] => create
  182. [_returnData:protected] =>
  183. [_multicall:protected] =>
  184. )
  185.  
  186. [type] => ->
  187. [args] => Array
  188. (
  189. [0] => Array
  190. (
  191. [website_id] => 42
  192. [store_id] => 59
  193. )
  194.  
  195. )
  196.  
  197. )
  198.  
  199. [1] => Array
  200. (
  201. [file] => /home/waitless/staging.waitlessmunch.co.uk/app/code/core/Mage/Api2/Model/Dispatcher.php
  202. [line] => 74
  203. [function] => dispatch
  204. [class] => Mage_Api2_Model_Resource
  205. [object] => Ultrasonic_B1order_Model_Api2_Placeorder_Rest_Admin_V1 Object
  206. (
  207. [_request:protected] => Mage_Api2_Model_Request Object
  208. (
  209. [_interpreter:protected] => Mage_Api2_Model_Request_Interpreter_Json Object
  210. (
  211. )
  212.  
  213. [_bodyParams:protected] => Array
  214. (
  215. [city] => London
  216. [email] => jaygajjar77@gmail.com
  217. [website_id] => 42
  218. [postcode] => NW9 8BJ
  219. [lastName] => Gajjar
  220. [street] => 1 main street
  221. [products] => Array
  222. (
  223. [0] => Array
  224. (
  225. [options] => Array
  226. (
  227. )
  228.  
  229. [qty] => 1
  230. [productId] => 1008
  231. )
  232.  
  233. )
  234.  
  235. [country_id] => GB
  236. [region_id] =>
  237. [customer_id] => 202
  238. [telephone] => 9904252434
  239. [delivery_time] => 2017-12-18 10:40:00
  240. [user_pickup_method] => collection
  241. [api_key] => sk_test_MswO4ecXwWocj8SIDsFAQrzs
  242. [processing_fee] => 0.5
  243. [payment_method] => Array
  244. (
  245. [ref_id] =>
  246. [code] => banktransfer
  247. )
  248.  
  249. [store_id] => 59
  250. [comments] => {\n\n}
  251. [quote_id] => 1199
  252. [firstName] => Jay
  253. [device_id] => FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4
  254. [grand_total] => 14.5
  255. )
  256.  
  257. [_paramSources:protected] => Array
  258. (
  259. [0] => _GET
  260. [1] => _POST
  261. )
  262.  
  263. [_requestUri:protected] => /api/rest/placeorder
  264. [_baseUrl:protected] =>
  265. [_basePath:protected] =>
  266. [_pathInfo:protected] => /placeorder
  267. [_params:protected] => Array
  268. (
  269. [api_type] => rest
  270. [model] => b1order/api2_placeorder
  271. [type] => placeorder
  272. [action_type] => collection
  273. )
  274.  
  275. [_rawBody:protected] => {
  276. "city": "London",
  277. "email": "jaygajjar77@gmail.com",
  278. "website_id": "42",
  279. "postcode": "NW9 8BJ",
  280. "lastName": "Gajjar",
  281. "street": "1 main street",
  282. "products": [
  283. {
  284. "options": {},
  285. "qty": "1",
  286. "productId": "1008"
  287. }
  288. ],
  289. "country_id": "GB",
  290. "region_id": "",
  291. "customer_id": "202",
  292. "telephone": "9904252434",
  293. "delivery_time": "2017-12-18 10:40:00",
  294. "user_pickup_method": "collection",
  295. "api_key": "sk_test_MswO4ecXwWocj8SIDsFAQrzs",
  296. "processing_fee": "0.5",
  297. "payment_method": {
  298. "ref_id": "",
  299. "code": "banktransfer"
  300. },
  301. "store_id": "59",
  302. "comments": "{\\n\\n}",
  303. "quote_id": "1199",
  304. "firstName": "Jay",
  305. "device_id": "FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4",
  306. "grand_total": 14.5
  307. }
  308. [_aliases:protected] => Array
  309. (
  310. )
  311.  
  312. [_dispatched:protected] =>
  313. [_module:protected] =>
  314. [_moduleKey:protected] => module
  315. [_controller:protected] =>
  316. [_controllerKey:protected] => controller
  317. [_action:protected] =>
  318. [_actionKey:protected] => action
  319. )
  320.  
  321. [_resourceType:protected] => placeorder
  322. [_apiType:protected] => rest
  323. [_version:protected] =>
  324. [_response:protected] => Mage_Api2_Model_Response Object
  325. (
  326. [_messages:protected] => Array
  327. (
  328. )
  329.  
  330. [_body:protected] => Array
  331. (
  332. )
  333.  
  334. [_exceptions:protected] => Array
  335. (
  336. )
  337.  
  338. [_headers:protected] => Array
  339. (
  340. )
  341.  
  342. [_headersRaw:protected] => Array
  343. (
  344. )
  345.  
  346. [_httpResponseCode:protected] => 200
  347. [_isRedirect:protected] =>
  348. [_renderExceptions:protected] =>
  349. [headersSentThrowsException] => 1
  350. )
  351.  
  352. [_filter:protected] => Mage_Api2_Model_Acl_Filter Object
  353. (
  354. [_allowedAttributes:protected] => Array
  355. (
  356. [0] => store_id
  357. [1] => message
  358. [2] => orderid
  359. [3] => incrementid
  360. [4] => website_id
  361. )
  362.  
  363. [_attributesToInclude:protected] =>
  364. [_resource:protected] => Ultrasonic_B1order_Model_Api2_Placeorder_Rest_Admin_V1 Object
  365. *RECURSION*
  366. )
  367.  
  368. [_renderer:protected] =>
  369. [_apiUser:protected] => Mage_Api2_Model_Auth_User_Admin Object
  370. (
  371. [_userId:protected] => 1
  372. [_role:protected] => 4
  373. )
  374.  
  375. [_userType:protected] => admin
  376. [_actionType:protected] => collection
  377. [_operation:protected] => create
  378. [_returnData:protected] =>
  379. [_multicall:protected] =>
  380. )
  381.  
  382. [type] => ->
  383. [args] => Array
  384. (
  385. )
  386.  
  387. )
  388.  
  389. [2] => Array
  390. (
  391. [file] => /home/waitless/staging.waitlessmunch.co.uk/app/code/core/Mage/Api2/Model/Server.php
  392. [line] => 239
  393. [function] => dispatch
  394. [class] => Mage_Api2_Model_Dispatcher
  395. [object] => Mage_Api2_Model_Dispatcher Object
  396. (
  397. [_apiUser:protected] => Mage_Api2_Model_Auth_User_Admin Object
  398. (
  399. [_userId:protected] => 1
  400. [_role:protected] => 4
  401. )
  402.  
  403. )
  404.  
  405. [type] => ->
  406. [args] => Array
  407. (
  408. [0] => Mage_Api2_Model_Request Object
  409. (
  410. [_interpreter:protected] => Mage_Api2_Model_Request_Interpreter_Json Object
  411. (
  412. )
  413.  
  414. [_bodyParams:protected] => Array
  415. (
  416. [city] => London
  417. [email] => jaygajjar77@gmail.com
  418. [website_id] => 42
  419. [postcode] => NW9 8BJ
  420. [lastName] => Gajjar
  421. [street] => 1 main street
  422. [products] => Array
  423. (
  424. [0] => Array
  425. (
  426. [options] => Array
  427. (
  428. )
  429.  
  430. [qty] => 1
  431. [productId] => 1008
  432. )
  433.  
  434. )
  435.  
  436. [country_id] => GB
  437. [region_id] =>
  438. [customer_id] => 202
  439. [telephone] => 9904252434
  440. [delivery_time] => 2017-12-18 10:40:00
  441. [user_pickup_method] => collection
  442. [api_key] => sk_test_MswO4ecXwWocj8SIDsFAQrzs
  443. [processing_fee] => 0.5
  444. [payment_method] => Array
  445. (
  446. [ref_id] =>
  447. [code] => banktransfer
  448. )
  449.  
  450. [store_id] => 59
  451. [comments] => {\n\n}
  452. [quote_id] => 1199
  453. [firstName] => Jay
  454. [device_id] => FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4
  455. [grand_total] => 14.5
  456. )
  457.  
  458. [_paramSources:protected] => Array
  459. (
  460. [0] => _GET
  461. [1] => _POST
  462. )
  463.  
  464. [_requestUri:protected] => /api/rest/placeorder
  465. [_baseUrl:protected] =>
  466. [_basePath:protected] =>
  467. [_pathInfo:protected] => /placeorder
  468. [_params:protected] => Array
  469. (
  470. [api_type] => rest
  471. [model] => b1order/api2_placeorder
  472. [type] => placeorder
  473. [action_type] => collection
  474. )
  475.  
  476. [_rawBody:protected] => {
  477. "city": "London",
  478. "email": "jaygajjar77@gmail.com",
  479. "website_id": "42",
  480. "postcode": "NW9 8BJ",
  481. "lastName": "Gajjar",
  482. "street": "1 main street",
  483. "products": [
  484. {
  485. "options": {},
  486. "qty": "1",
  487. "productId": "1008"
  488. }
  489. ],
  490. "country_id": "GB",
  491. "region_id": "",
  492. "customer_id": "202",
  493. "telephone": "9904252434",
  494. "delivery_time": "2017-12-18 10:40:00",
  495. "user_pickup_method": "collection",
  496. "api_key": "sk_test_MswO4ecXwWocj8SIDsFAQrzs",
  497. "processing_fee": "0.5",
  498. "payment_method": {
  499. "ref_id": "",
  500. "code": "banktransfer"
  501. },
  502. "store_id": "59",
  503. "comments": "{\\n\\n}",
  504. "quote_id": "1199",
  505. "firstName": "Jay",
  506. "device_id": "FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4",
  507. "grand_total": 14.5
  508. }
  509. [_aliases:protected] => Array
  510. (
  511. )
  512.  
  513. [_dispatched:protected] =>
  514. [_module:protected] =>
  515. [_moduleKey:protected] => module
  516. [_controller:protected] =>
  517. [_controllerKey:protected] => controller
  518. [_action:protected] =>
  519. [_actionKey:protected] => action
  520. )
  521.  
  522. [1] => Mage_Api2_Model_Response Object
  523. (
  524. [_messages:protected] => Array
  525. (
  526. )
  527.  
  528. [_body:protected] => Array
  529. (
  530. )
  531.  
  532. [_exceptions:protected] => Array
  533. (
  534. )
  535.  
  536. [_headers:protected] => Array
  537. (
  538. )
  539.  
  540. [_headersRaw:protected] => Array
  541. (
  542. )
  543.  
  544. [_httpResponseCode:protected] => 200
  545. [_isRedirect:protected] =>
  546. [_renderExceptions:protected] =>
  547. [headersSentThrowsException] => 1
  548. )
  549.  
  550. )
  551.  
  552. )
  553.  
  554. [3] => Array
  555. (
  556. [file] => /home/waitless/staging.waitlessmunch.co.uk/app/code/core/Mage/Api2/Model/Server.php
  557. [line] => 107
  558. [function] => _dispatch
  559. [class] => Mage_Api2_Model_Server
  560. [object] => Mage_Api2_Model_Server Object
  561. (
  562. [_authUser:protected] => Mage_Api2_Model_Auth_User_Admin Object
  563. (
  564. [_userId:protected] => 1
  565. [_role:protected] => 4
  566. )
  567.  
  568. )
  569.  
  570. [type] => ->
  571. [args] => Array
  572. (
  573. [0] => Mage_Api2_Model_Request Object
  574. (
  575. [_interpreter:protected] => Mage_Api2_Model_Request_Interpreter_Json Object
  576. (
  577. )
  578.  
  579. [_bodyParams:protected] => Array
  580. (
  581. [city] => London
  582. [email] => jaygajjar77@gmail.com
  583. [website_id] => 42
  584. [postcode] => NW9 8BJ
  585. [lastName] => Gajjar
  586. [street] => 1 main street
  587. [products] => Array
  588. (
  589. [0] => Array
  590. (
  591. [options] => Array
  592. (
  593. )
  594.  
  595. [qty] => 1
  596. [productId] => 1008
  597. )
  598.  
  599. )
  600.  
  601. [country_id] => GB
  602. [region_id] =>
  603. [customer_id] => 202
  604. [telephone] => 9904252434
  605. [delivery_time] => 2017-12-18 10:40:00
  606. [user_pickup_method] => collection
  607. [api_key] => sk_test_MswO4ecXwWocj8SIDsFAQrzs
  608. [processing_fee] => 0.5
  609. [payment_method] => Array
  610. (
  611. [ref_id] =>
  612. [code] => banktransfer
  613. )
  614.  
  615. [store_id] => 59
  616. [comments] => {\n\n}
  617. [quote_id] => 1199
  618. [firstName] => Jay
  619. [device_id] => FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4
  620. [grand_total] => 14.5
  621. )
  622.  
  623. [_paramSources:protected] => Array
  624. (
  625. [0] => _GET
  626. [1] => _POST
  627. )
  628.  
  629. [_requestUri:protected] => /api/rest/placeorder
  630. [_baseUrl:protected] =>
  631. [_basePath:protected] =>
  632. [_pathInfo:protected] => /placeorder
  633. [_params:protected] => Array
  634. (
  635. [api_type] => rest
  636. [model] => b1order/api2_placeorder
  637. [type] => placeorder
  638. [action_type] => collection
  639. )
  640.  
  641. [_rawBody:protected] => {
  642. "city": "London",
  643. "email": "jaygajjar77@gmail.com",
  644. "website_id": "42",
  645. "postcode": "NW9 8BJ",
  646. "lastName": "Gajjar",
  647. "street": "1 main street",
  648. "products": [
  649. {
  650. "options": {},
  651. "qty": "1",
  652. "productId": "1008"
  653. }
  654. ],
  655. "country_id": "GB",
  656. "region_id": "",
  657. "customer_id": "202",
  658. "telephone": "9904252434",
  659. "delivery_time": "2017-12-18 10:40:00",
  660. "user_pickup_method": "collection",
  661. "api_key": "sk_test_MswO4ecXwWocj8SIDsFAQrzs",
  662. "processing_fee": "0.5",
  663. "payment_method": {
  664. "ref_id": "",
  665. "code": "banktransfer"
  666. },
  667. "store_id": "59",
  668. "comments": "{\\n\\n}",
  669. "quote_id": "1199",
  670. "firstName": "Jay",
  671. "device_id": "FE91FB40-CCDD-4AE7-BDA3-3B13C205B9C4",
  672. "grand_total": 14.5
  673. }
  674. [_aliases:protected] => Array
  675. (
  676. )
  677.  
  678. [_dispatched:protected] =>
  679. [_module:protected] =>
  680. [_moduleKey:protected] => module
  681. [_controller:protected] =>
  682. [_controllerKey:protected] => controller
  683. [_action:protected] =>
  684. [_actionKey:protected] => action
  685. )
  686.  
  687. [1] => Mage_Api2_Model_Response Object
  688. (
  689. [_messages:protected] => Array
  690. (
  691. )
  692.  
  693. [_body:protected] => Array
  694. (
  695. )
  696.  
  697. [_exceptions:protected] => Array
  698. (
  699. )
  700.  
  701. [_headers:protected] => Array
  702. (
  703. )
  704.  
  705. [_headersRaw:protected] => Array
  706. (
  707. )
  708.  
  709. [_httpResponseCode:protected] => 200
  710. [_isRedirect:protected] =>
  711. [_renderExceptions:protected] =>
  712. [headersSentThrowsException] => 1
  713. )
  714.  
  715. [2] => Mage_Api2_Model_Auth_User_Admin Object
  716. (
  717. [_userId:protected] => 1
  718. [_role:protected] => 4
  719. )
  720.  
  721. )
  722.  
  723. )
  724.  
  725. [4] => Array
  726. (
  727. [file] => /home/waitless/staging.waitlessmunch.co.uk/api.php
  728. [line] => 73
  729. [function] => run
  730. [class] => Mage_Api2_Model_Server
  731. [object] => Mage_Api2_Model_Server Object
  732. (
  733. [_authUser:protected] => Mage_Api2_Model_Auth_User_Admin Object
  734. (
  735. [_userId:protected] => 1
  736. [_role:protected] => 4
  737. )
  738.  
  739. )
  740.  
  741. [type] => ->
  742. [args] => Array
  743. (
  744. )
  745.  
  746. )
  747.  
  748. )
Add Comment
Please, Sign In to add comment