Advertisement
nikitafrolov

Ответ

Aug 16th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.85 KB | None | 0 0
  1. shiptorResponseException object {
  2. shiptorResponseExceptionid => NULL
  3. shiptorResponseExceptionshiptorCode => NULL
  4. *prev_exception => shiptorResponseException object ** RECURSION (level -1) **
  5. *message => 'Package: #0 is invalid: The value "27" is not allowed for path "departure.shipping_method". Permissible values: 1, 11, 13, 14, 16, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 33, 35, 38, 53, 57, 58, 59, 60, 61, 66, 67, 68, 69, 70, 71, 72, 73'
  6. Exceptionstring => ''
  7. *code => -32602
  8. *file => '/wa-apps/shop/plugins/shiptor/lib/classes/shiptorAPIworker.php'
  9. *line => 41
  10. Exceptiontrace => array(
  11. 0 => array(
  12. 'file' => '/wa-apps/shop/plugins/shiptor/lib/classes/shiptorPackageWorker.php',
  13. 'line' => 40,
  14. 'function' => 'sendRequest',
  15. 'class' => 'shiptorAPIworker',
  16. 'type' => '->',
  17. 'args' => array(
  18. 0 => array(
  19. 'id' => 'JsonRpcClient.js',
  20. 'jsonrpc' => '2.0',
  21. 'method' => 'addPackages',
  22. 'params' => array(
  23. 'shipment' => array(
  24. 'type' => 'courier',
  25. 'courier' => 'dpd',
  26. 'address' => array(
  27. 'receiver' => 'Ролдугин Сергей',
  28. 'email' => 'ck@laleona.ru',
  29. 'phone' => '+7 000 0000-19-72',
  30. 'country' => 'RU',
  31. 'administrative_area' => 'г. Санкт-Петербург',
  32. 'postal_code' => '195030',
  33. 'street' => 'Коммунны',
  34. 'house' => '62',
  35. 'apartment' => '-',
  36. 'kladr_id' => '78000000000',
  37. ),
  38. 'comment' => '',
  39. 'pickup_time' => 'с 09:00 до 18:00',
  40. 'date' => '24.12.2017',
  41. ),
  42. 'packages' => array(
  43. 0 => array(
  44. 'length' => 8,
  45. 'width' => 3,
  46. 'height' => 3,
  47. 'weight' => '0.09',
  48. 'cod' => 0,
  49. 'external_id' => '683',
  50. 'departure' => array(
  51. 'shipping_method' => '27',
  52. 'delivery_point' => '4801',
  53. 'address' => array(
  54. 'country' => 'RU',
  55. 'name' => 'пвапвап',
  56. 'surname' => 'вапвапвап',
  57. 'email' => '0000@gmail.com',
  58. 'phone' => '00000000000',
  59. 'postal_code' => '150000',
  60. 'kladr_id' => '76000001000',
  61. 'street' => 'ул Ушинского',
  62. 'house' => '20',
  63. 'apartment' => '1',
  64. ),
  65. ),
  66. 0 => array(
  67. 'shopArticle' => '840',
  68. 'count' => 1,
  69. 'price' => 774,
  70. ),
  71. ),
  72. 'services' => array(
  73. 0 => array(
  74. 'shopArticle' => 'delivery',
  75. 'count' => 1,
  76. 'price' => '173.0000',
  77. ),
  78. ),
  79. ),
  80. ),
  81. ),
  82. ),
  83. ),
  84. 1 => array(
  85. 'file' => '/wa-apps/shop/plugins/shiptor/lib/shopShiptor.plugin.php',
  86. 'line' => 297,
  87. 'function' => 'addPackage',
  88. 'class' => 'shiptorPackageWorker',
  89. 'type' => '->',
  90. 'args' => array(
  91. 0 => array(
  92. 'id' => '683',
  93. 'contact_id' => '2',
  94. 'create_datetime' => '2017-08-16 15:54:06',
  95. 'update_datetime' => NULL,
  96. 'state_id' => 'new',
  97. 'total' => '947.0000',
  98. 'currency' => 'RUB',
  99. 'rate' => '1.00000000',
  100. 'shipping' => '173.0000',
  101. 'discount' => '16.0000',
  102. 'assigned_contact_id' => NULL,
  103. 'paid_year' => NULL,
  104. 'paid_quarter' => NULL,
  105. 'paid_month' => NULL,
  106. 'paid_date' => NULL,
  107. 'is_first' => '0',
  108. 'unsettled' => '0',
  109. 'comment' => '',
  110. 'shipping_datetime' => NULL,
  111. 'params' => array(
  112. 'auth_code' => '848f285348473b7a683ea82340f3f6b1d30',
  113. 'auth_pin' => '2713',
  114. 'billing_address.appartment' => '1',
  115. 'billing_address.city' => 'Санкт-Петербург',
  116. 'billing_address.country' => 'rus',
  117. 'billing_address.region' => '47',
  118. 'billing_address.street' => 'Шлисенбургская',
  119. 'billing_address.zip' => '195030',
  120. 'ip' => '000.000.00.00',
  121. 'landing' => '/',
  122. 'payment_id' => '1',
  123. 'payment_name' => 'Оплата банковской картой',
  124. 'payment_plugin' => 'yandexmoney',
  125. 'sales_channel' => 'storefront:dev.laleona.ru',
  126. 'shipping_address.appartment' => '1',
  127. 'shipping_address.city' => 'Ярославль',
  128. 'shipping_address.country' => 'rus',
  129. 'shipping_address.house' => '20',
  130. 'shipping_address.lat' => '57.629113',
  131. 'shipping_address.lng' => '39.884803',
  132. 'shipping_address.polnyy-adres' => 'Ярославль ул Ушинского 20 1',
  133. 'shipping_address.region' => '76',
  134. 'shipping_address.zip' => '150000',
  135. 'shipping_currency' => 'RUB',
  136. 'shipping_currency_rate' => '1',
  137. 'shipping_est_delivery' => 'от 2 дней',
  138. 'shipping_id' => '51',
  139. 'shipping_name' => 'Shiptor.ru - В пункт выдачи (150065 Ярославская, Ярославль, пр-кт Машиностроителей, 52)',
  140. 'shipping_plugin' => 'shiptor',
  141. 'shipping_rate_id' => '27~4801~dpd',
  142. 'signup_url' => '',
  143. 'storefront' => 'dev.laleona.ru',
  144. 'user_agent' => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36',
  145. ),
  146. 'contact' => array(
  147. 'id' => '2',
  148. 'name' => 'Цветков Николай',
  149. 'email' => 'nikoyar@gmail.com',
  150. 'phone' => '79201050075',
  151. 'photo_50x50' => '//www.gravatar.com/avatar/5704e4c48bf601604fc8e01482ee31ed?size=50&default=monsterid',
  152. ),
  153. 'items' => array(
  154. 0 => array(
  155. 'id' => '840',
  156. 'id_1c' => 'e98e90c3-f198-4c17-89f8-eec6b63394e5',
  157. 'name' => 'Праймер для ногтей, бескислотный - NuBond Non Acid - Entity Beauty - 15 мл',
  158. 'summary' => 'Праймер бескислотный, с кисточкой',
  159. 'meta_title' => '',
  160. 'meta_keywords' => '',
  161. 'meta_description' => '',
  162. 'description' => '<p>Праймер для ногтей от Entity Beauty, абсолютно бескислотный.<br>Сократит проблемы с откалыванием искусственного покрытия от ногтевой пластины. <br>Улучшит сцепление и продлит срок носки. </p><p>Инновационная бескислотная формула удаляющая масла и загрязнения с ногтевой пластины, создает потрясающее сцепление с акриловыми и гелевыми материалами. Безопасно в применении даже для чувствительной кожи.</p><p>Доступный объем: 15мл</p><p>Применение:<br>Для удобства наносится кисточкой, перед нанесением искусственного покрытия (кисть идёт в комплекте). Высыхает в течении ~20 секунд. Сочетается с линейками Entity Beauty: Гели - One Gel Technology, Акрил - Acrylic System и Гель лаки - One Color Couture. Рекомендован для влажных и тонких ногтей.</p><p>Применяется практически при каждом нанесении искусственного покрытия.</p>',
  163. 'contact_id' => '3',
  164. 'create_datetime' => '2015-02-18 19:05:11',
  165. 'edit_datetime' => '2016-11-22 10:47:00',
  166. 'status' => '1',
  167. 'type_id' => '4',
  168. 'image_filename' => '',
  169. 'video_url' => NULL,
  170. 'sku_id' => '932',
  171. 'ext' => 'jpg',
  172. 'url' => 'entity-nubond-non-acid-15ml',
  173. 'rating' => '0.00',
  174. 'price' => 790,
  175. 'compare_price' => '0.0000',
  176. 'currency' => 'RUB',
  177. 'min_price' => 790,
  178. 'max_price' => 790,
  179. 'tax_id' => '0',
  180. 'count' => '10',
  181. 'cross_selling' => NULL,
  182. 'upselling' => NULL,
  183. 'rating_count' => '0',
  184. 'total_sales' => '9080.0000',
  185. 'badge' => '',
  186. 'sku_type' => '0',
  187. 'base_price_selectable' => '0.0000',
  188. 'compare_price_selectable' => '0.0000',
  189. 'purchase_price_selectable' => '0.0000',
  190. 'sku_count' => '1',
  191. 'in_shiptor' => '1',
  192. 'skus' => array(
  193. 932 => array(
  194. 'id' => '932',
  195. 'product_id' => '840',
  196. 'id_1c' => '21d549f4-2131-4a8d-84ba-683701299446',
  197. 'sku' => '',
  198. 'sort' => '1',
  199. 'name' => '',
  200. 'image_id' => '0',
  201. 'price' => '790.0000',
  202. 'purchase_price' => 540,
  203. 'compare_price' => 0,
  204. 'count' => 10,
  205. 'available' => '1',
  206. 'dimension_id' => NULL,
  207. 'file_name' => '',
  208. 'file_size' => '0',
  209. 'file_description' => '',
  210. 'virtual' => '0',
  211. 'stock' => array(),
  212. 'price_str' => '790 руб.',
  213. 'price_html' => '790 <span class="ruble">Р</span>',
  214. ),
  215. ),
  216. 'services' => array(),
  217. 'item' => array(
  218. 'id' => '1391',
  219. 'name' => 'Праймер для ногтей, бескислотный - NuBond Non Acid - Entity Beauty - 15 мл',
  220. 'product_id' => '840',
  221. 'sku_id' => '932',
  222. 'sku_code' => '',
  223. 'type' => 'product',
  224. 'service_id' => NULL,
  225. 'service_variant_id' => NULL,
  226. 'price' => 790,
  227. 'quantity' => '1',
  228. 'parent_id' => NULL,
  229. 'stock_id' => NULL,
  230. 'virtualstock_id' => NULL,
  231. 'purchase_price' => '540.0000',
  232. 'total_discount' => '0.0000',
  233. 'tax_percent' => '0.0000',
  234. 'tax_included' => '0',
  235. 'image_id' => '850',
  236. 'sku_image_id' => '0',
  237. 'ext' => 'jpg',
  238. 'file_name' => '',
  239. 'file_size' => '0',
  240. ),
  241. 'price_str' => '790 руб.',
  242. 'price_html' => '790 <span class="ruble">Р</span>',
  243. ),
  244. ),
  245. ),
  246. ),
  247. ),
  248. 2 => array(
  249. 'file' => '/wa-apps/shop/plugins/shiptor/lib/actions/backend/shopShiptorAdd.controller.php',
  250. 'line' => 32,
  251. 'function' => 'uploadOrder',
  252. 'class' => 'shopShiptorPlugin',
  253. 'args' => array(
  254. 0 => '683',
  255. ),
  256. ),
  257. 3 => array(
  258. 'file' => '/wa-system/controller/waController.class.php',
  259. 'line' => 21,
  260. 'function' => 'execute',
  261. 'class' => 'shopShiptorAddController',
  262. 'type' => '->',
  263. 'args' => array(),
  264. ),
  265. 4 => array(
  266. 'file' => '/wa-system/controller/waJsonController.class.php',
  267. 'line' => 28,
  268. 'function' => 'run',
  269. 'class' => 'waController',
  270. 'args' => array(
  271. 0 => NULL,
  272. ),
  273. ),
  274. 5 => array(
  275. 'file' => '/wa-system/controller/waFrontController.class.php',
  276. 'line' => 229,
  277. 'function' => 'run',
  278. 'class' => 'waJsonController',
  279. 'type' => '->',
  280. 'args' => array(
  281. 0 => NULL,
  282. ),
  283. ),
  284. 6 => array(
  285. 'file' => '/wa-system/controller/waFrontController.class.php',
  286. 'line' => 164,
  287. 'class' => 'waFrontController',
  288. 'type' => '->',
  289. 'args' => array(
  290. 0 => shopShiptorAddController object {
  291. *response => array()
  292. *errors => array()
  293. },
  294. 1 => NULL,
  295. ),
  296. ),
  297. 7 => array(
  298. 'file' => '/wa-system/controller/waFrontController.class.php',
  299. 'line' => 58,
  300. 'function' => 'execute',
  301. 'class' => 'waFrontController',
  302. 'type' => '->',
  303. 'args' => array(
  304. 1 => 'shiptor',
  305. 2 => 'add',
  306. ),
  307. ),
  308. 8 => array(
  309. 'file' => '/wa-system/waSystem.class.php',
  310. 'line' => 552,
  311. 'function' => 'dispatch',
  312. 'class' => 'waFrontController',
  313. 'type' => '->',
  314. 'args' => array(),
  315. ),
  316. 9 => array(
  317. 'file' => '/wa-system/waSystem.class.php',
  318. 'line' => 483,
  319. 'function' => 'dispatchBackend',
  320. 'class' => 'waSystem',
  321. 'args' => array(
  322. 0 => 'webasyst/shop/',
  323. ),
  324. ),
  325. 10 => array(
  326. 'file' => '/index.php',
  327. 'line' => 29,
  328. 'function' => 'dispatch',
  329. 'class' => 'waSystem',
  330. 'type' => '->',
  331. 'args' => array(),
  332. ),
  333. )
  334. Exceptionprevious => NULL
  335. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement