Caller |
In
Handler.php
line 43
try
{
$envelope = $this->messageBus->dispatch($message);
}
catch (HandlerFailedException $handlerFailedException)
{
|
Bus |
messenger.bus.default |
Message |
App\Core\Application\Command\Insales\Webhook\UpdateOrder\UpdateOrderCommand {#729
-application: App\Core\Domain\Model\Insales\Application {#753
-insalesId: 232775
-url: "ipolh.myinsales.ru"
-password: "5bf8b5fda864ad6424a654afceed911f"
-passwordToken: "bcca642f4535002fa4fde4418515d637"
-authentication: App\Core\Domain\Model\Insales\Embed\Authentication {#749
-login: null
-password: null
-authenticationSuccess: false
-authenticationError: "Idle timeout reached for "https://api.dashamail.ru/?insales"."
-apiKey: "19a4a20706497794df57c235206009d8"
}
-import: App\Core\Domain\Model\Insales\Embed\Import {#745
-orderImportFinish: true
-clientImportFinish: true
-lastOrderPage: 2
}
-options: App\Core\Domain\Model\Insales\Embed\Options {#741
-addressBookId: 274029
-addressBookTitle: "Тест611"
}
-lastExportDate: null
-readyExportClient: 2
-bouncedEmailCount: 79
-fakeEmailCount: 6
-installNotificationSend: true
-lastUpdateClient: DateTime @1731158821 {#725
date: 2024-11-09 16:27:01.0 Europe/Moscow (+03:00)
}
-importType: "import-client-order"
#id: 1
#createAt: DateTime @1728566978 {#722
date: 2024-10-10 16:29:38.0 Europe/Moscow (+03:00)
}
#updateAt: DateTime @1736440920 {#892
date: 2025-01-09 19:42:00.621678 Europe/Moscow (+03:00)
}
#uuid: "0192769e-e622-7c3a-b8d8-3587938d1a25"
}
-fields: [
"fields_values" => [
[
"id" => 229561306
"field_id" => 30662589
"value" => ""
"created_at" => "2024-12-28T13:07:27.767+03:00"
"updated_at" => "2024-12-28T13:07:27.767+03:00"
"type" => "Текст"
"name" => "SavedCurrency"
"handle" => "saved_currency_test"
]
]
"order_lines" => [
[
"id" => 699126865
"order_id" => 125564199
"sale_price" => 3000.0
"full_sale_price" => 3000.0
"total_price" => 3000.0
"full_total_price" => 3000.0
"discounts_amount" => 0.0
"quantity" => 1
"reserved_quantity" => 0
"weight" => "0.1"
"dimensions" => null
"variant_id" => 748932690
"product_id" => 451752126
"sku" => "159596"
"barcode" => null
"title" => "Elixir Neroli EDP"
"unit" => "pce"
"comment" => null
"updated_at" => "2025-01-09T19:37:41.000+03:00"
"created_at" => "2024-12-28T13:07:27.000+03:00"
"bundle_id" => null
"vat" => 20
"fiscal_product_type" => 1
"requires_marking" => null
"marking_codes" => null
"accessory_lines" => []
"external_variant_id" => "159596"
]
[
"id" => 700641859
"order_id" => 125564199
"sale_price" => 23.35
"full_sale_price" => 23.35
"total_price" => 23.35
"full_total_price" => 23.35
"discounts_amount" => 0.0
"quantity" => 1
"reserved_quantity" => 1
"weight" => "0.1"
"dimensions" => null
"variant_id" => 748932686
"product_id" => 451752122
"sku" => "157408"
"barcode" => null
"title" => "Elixir Rise Of The Superb EDP"
"unit" => "pce"
"comment" => null
"updated_at" => "2025-01-09T19:35:18.000+03:00"
"created_at" => "2025-01-09T19:35:18.000+03:00"
"bundle_id" => null
"vat" => 20
"fiscal_product_type" => 1
"requires_marking" => null
"marking_codes" => null
"accessory_lines" => []
"external_variant_id" => "157408"
]
[
"id" => 700641860
"order_id" => 125564199
"sale_price" => 38.24
"full_sale_price" => 38.24
"total_price" => 38.24
"full_total_price" => 38.24
"discounts_amount" => 0.0
"quantity" => 1
"reserved_quantity" => 1
"weight" => "0.1"
"dimensions" => null
"variant_id" => 748932687
"product_id" => 451752123
"sku" => "157405"
"barcode" => null
"title" => "Gold EDT"
"unit" => "pce"
"comment" => null
"updated_at" => "2025-01-09T19:35:18.000+03:00"
"created_at" => "2025-01-09T19:35:18.000+03:00"
"bundle_id" => null
"vat" => 20
"fiscal_product_type" => 1
"requires_marking" => null
"marking_codes" => null
"accessory_lines" => []
"external_variant_id" => "157405"
]
]
"order_changes" => [
[
"id" => 1676515421
"created_at" => "2025-01-09T19:42:00.299+03:00"
"action" => "custom_status_changed"
"value_was" => "Новый"
"value_is" => "q"
"full_description" => "Статус заказа изменен с 'Новый' на 'q' пользователем ипол"
"user_name" => "ипол"
]
[
"id" => 1676513213
"created_at" => "2025-01-09T19:37:42.616+03:00"
"action" => "order_line_quantity_changed"
"value_was" => [
"title" => "Elixir Neroli EDP"
"quantity" => 2
]
"value_is" => [
"title" => "Elixir Neroli EDP"
"quantity" => 1
]
"full_description" => "Изменено кол-во в позиции "Elixir Neroli EDP" с 2 на 1 пользователем ипол"
"user_name" => "ипол"
]
[
"id" => 1676510190
"created_at" => "2025-01-09T19:35:19.132+03:00"
"action" => "order_line_created"
"value_was" => null
"value_is" => [
"sale_price" => 38.24
"title" => "Gold EDT"
"quantity" => 1
]
"full_description" => "Добавлена позиция "Gold EDT" с ценой 38.24 и количеством 1 пользователем ипол"
"user_name" => "ипол"
]
[
"id" => 1676510189
"created_at" => "2025-01-09T19:35:19.125+03:00"
"action" => "order_line_created"
"value_was" => null
"value_is" => [
"sale_price" => 23.35
"title" => "Elixir Rise Of The Superb EDP"
"quantity" => 1
]
"full_description" => "Добавлена позиция "Elixir Rise Of The Superb EDP" с ценой 23.35 и количеством 1 пользователем ипол"
"user_name" => "ипол"
]
[
"id" => 1676507395
"created_at" => "2025-01-09T19:31:55.374+03:00"
"action" => "order_line_quantity_changed"
"value_was" => [
"title" => "Elixir Neroli EDP"
"quantity" => 1
]
"value_is" => [
"title" => "Elixir Neroli EDP"
"quantity" => 2
]
"full_description" => "Изменено кол-во в позиции "Elixir Neroli EDP" с 1 на 2 пользователем ипол"
"user_name" => "ипол"
]
[
"id" => 1666714573
"created_at" => "2024-12-28T13:07:27.976+03:00"
"action" => "order_created"
"value_was" => null
"value_is" => null
"full_description" => "Заказ создан"
"user_name" => null
]
]
"discount" => null
"shipping_address" => [
"id" => 134418788
"fields_values" => [
[
"id" => 229561307
"field_id" => 31400102
"value" => ""
"created_at" => "2024-12-28T13:07:27.797+03:00"
"updated_at" => "2024-12-28T13:07:27.797+03:00"
"type" => "Выпадающий список"
"name" => "ПВЗ"
"handle" => "aromat_ee_select_pvz"
]
]
"name" => "Фыва Фыва"
"surname" => null
"middlename" => null
"phone" => "+7(926)111-11-11"
"formatted_phone" => "+7(926)111-11-11"
"full_name" => "Фыва Фыва"
"full_locality_name" => "г Пятигорск, Ставропольский край"
"full_delivery_address" => "Россия, г Пятигорск, Ставропольский край"
"address_for_gis" => "Россия, г Пятигорск, Ставропольский край"
"location_valid" => true
"recipient_fields" => [
[
"id" => 2813290
"destiny" => 2
"position" => 1
"office_title" => "Имя"
"for_buyer" => true
"obligatory" => true
"active" => true
"system_name" => "name"
"created_at" => "2015-11-24T17:43:36.218+03:00"
"updated_at" => "2015-11-24T17:43:36.218+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => null
"type" => "Field::ObligatoryTextField"
]
[
"id" => 2813298
"destiny" => 2
"position" => 2
"office_title" => "Фамилия"
"for_buyer" => true
"obligatory" => false
"active" => true
"system_name" => "surname"
"created_at" => "2015-11-24T17:43:36.264+03:00"
"updated_at" => "2021-10-08T14:04:50.978+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => ""
"type" => "Field::SystemTextField"
]
[
"id" => 2813293
"destiny" => 2
"position" => 3
"office_title" => "Телефон"
"for_buyer" => true
"obligatory" => true
"active" => true
"system_name" => "phone"
"created_at" => "2015-11-24T17:43:36.240+03:00"
"updated_at" => "2021-10-08T14:04:39.466+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => "Например: +7(926)111-11-11"
"type" => "Field::Phone"
]
]
"backoffice_fields" => [
[
"id" => 2813291
"destiny" => 1
"position" => 1
"office_title" => "Страна"
"for_buyer" => true
"obligatory" => false
"active" => true
"system_name" => "country"
"created_at" => "2015-11-24T17:43:36.224+03:00"
"updated_at" => "2019-07-31T11:31:55.082+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => null
"type" => "Field::Country"
]
[
"id" => 10003169
"destiny" => 1
"position" => 7
"office_title" => "Населенный пункт"
"for_buyer" => true
"obligatory" => true
"active" => true
"system_name" => "full_locality_name"
"created_at" => "2019-02-19T09:26:10.285+03:00"
"updated_at" => "2019-02-19T09:26:10.285+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => null
"type" => "Field::Locality"
]
[
"id" => 10003170
"destiny" => 1
"position" => 8
"office_title" => "Улица"
"for_buyer" => true
"obligatory" => false
"active" => true
"system_name" => "street"
"created_at" => "2019-02-19T09:26:10.289+03:00"
"updated_at" => "2019-02-19T09:26:10.289+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => null
"type" => "Field::SystemTextField"
]
[
"id" => 10003171
"destiny" => 1
"position" => 9
"office_title" => "Дом"
"for_buyer" => true
"obligatory" => false
"active" => true
"system_name" => "house"
"created_at" => "2019-02-19T09:26:10.292+03:00"
"updated_at" => "2019-02-19T09:26:10.292+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => null
"type" => "Field::SystemTextField"
]
[
"id" => 10003172
"destiny" => 1
"position" => 10
"office_title" => "Квартира"
"for_buyer" => true
"obligatory" => false
"active" => true
"system_name" => "flat"
"created_at" => "2019-02-19T09:26:10.296+03:00"
"updated_at" => "2019-02-19T09:26:10.296+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => null
"hide_in_backoffice" => null
"handle" => null
"title" => null
"example" => null
"type" => "Field::SystemTextField"
]
[
"id" => 31400102
"destiny" => 1
"position" => 11
"office_title" => "ПВЗ"
"for_buyer" => true
"obligatory" => false
"active" => true
"system_name" => null
"created_at" => "2024-01-14T13:23:18.966+03:00"
"updated_at" => "2024-01-14T13:23:18.966+03:00"
"show_in_result" => true
"show_in_checkout" => true
"is_indexed" => false
"hide_in_backoffice" => false
"handle" => "aromat_ee_select_pvz"
"title" => "ПВЗ"
"example" => ""
"type" => "Field::Select"
"field_options" => [
[
"id" => 4182211
"position" => 1
"value" => "1"
]
[
"id" => 4182212
"position" => 2
"value" => "2"
]
]
]
]
"no_delivery" => false
"kladr_autodetected_address" => "357500, Россия, край Ставропольский, г Пятигорск"
"country_options" => [
[
"code" => "BY"
"title" => "Беларусь"
"selected" => false
]
[
"code" => "KZ"
"title" => "Казахстан"
"selected" => false
]
[
"code" => "LV"
"title" => "Латвия"
"selected" => false
]
[
"code" => "LT"
"title" => "Литва"
"selected" => false
]
[
"code" => "RU"
"title" => "Россия"
"selected" => true
]
[
"code" => "UZ"
"title" => "Узбекистан"
"selected" => false
]
[
"code" => "FI"
"title" => "Финляндия"
"selected" => false
]
[
"code" => "EE"
"title" => "Эстония"
"selected" => false
]
]
"address" => null
"country" => "RU"
"state" => "край Ставропольский"
"city" => "Пятигорск"
"zip" => null
"street" => null
"house" => null
"flat" => null
"entrance" => null
"doorphone" => null
"floor" => null
"kladr_json" => [
"code" => "2600000700000"
"country" => "RU"
"state" => "Ставропольский"
"state_type" => "край"
"area" => null
"area_type" => null
"city" => "Пятигорск"
"city_type" => "г"
"settlement" => null
"settlement_type" => null
"street" => null
"street_type" => null
"latitude" => "44.03265714934208"
"longitude" => "43.04464099999998"
"zip" => "357500"
"result" => "г Пятигорск, Ставропольский край"
"last_level" => "Пятигорск"
"last_level_type" => "г"
"region_zip" => "355000"
"is_kladr" => true
]
"location" => [
"kladr_code" => "2600000700000"
"zip" => null
"kladr_zip" => "357500"
"region_zip" => "355000"
"country" => "RU"
"state" => "Ставропольский"
"state_type" => "край"
"area" => null
"area_type" => null
"city" => "Пятигорск"
"city_type" => "г"
"settlement" => null
"settlement_type" => null
"address" => ""
"street" => null
"street_type" => null
"house" => null
"flat" => null
"is_kladr" => true
"latitude" => "44.03265714934208"
"longitude" => "43.04464099999998"
"autodetected" => null
]
]
"client" => [
"id" => 85526642
"email" => "a@mail.ru"
"name" => "Фыва Фыва"
"phone" => "+79261111111"
"created_at" => "2024-12-28T13:07:27.000+03:00"
"updated_at" => "2024-12-28T13:07:27.000+03:00"
"comment" => null
"registered" => false
"subscribe" => true
"client_group_id" => null
"surname" => ""
"middlename" => null
"bonus_points" => 0
"type" => "Client::Individual"
"correspondent_account" => null
"settlement_account" => null
"consent_to_personal_data" => null
"o_auth_provider" => null
"messenger_subscription" => null
"contact_name" => "Фыва Фыва"
"progressive_discount" => null
"group_discount" => null
"ip_addr" => "46.160.235.217"
"fields_values" => []
]
"discounts" => []
"total_price" => 3286.59
"items_price" => 3061.59
"id" => 125564199
"key" => "b7a63dee8a053ef276e92ff97f7145f5"
"number" => 1608
"comment" => ""
"archived" => false
"delivery_title" => "fivepost"
"delivery_description" => "fivepost"
"delivery_price" => 225.0
"full_delivery_price" => 225.0
"payment_description" => null
"payment_title" => "Банк Санкт-Петербург"
"first_referer" => "https://web.skype.com/"
"first_current_location" => "/"
"first_query" => null
"first_source_domain" => "web.skype.com"
"first_source" => "Сайты"
"referer" => "https://web.skype.com/"
"current_location" => "/"
"query" => null
"source_domain" => "web.skype.com"
"source" => "Сайты"
"fulfillment_status" => "new"
"custom_status" => [
"permalink" => "q"
"title" => "q"
]
"delivered_at" => null
"accepted_at" => null
"created_at" => "2024-12-28T13:07:27.000+03:00"
"updated_at" => "2025-01-09T19:41:59.000+03:00"
"financial_status" => "pending"
"delivery_date" => null
"delivery_from_hour" => null
"delivery_from_minutes" => null
"delivery_to_hour" => null
"delivery_to_minutes" => null
"delivery_time" => ""
"paid_at" => null
"delivery_variant_id" => 3192667
"payment_gateway_id" => 6225222
"margin" => "0.0"
"margin_amount" => "0.0"
"client_transaction_id" => 28416744
"currency_code" => "RUR"
"cookies" => []
"account_id" => 232775
"manager_comment" => null
"locale" => "ru"
"delivery_info" => [
"delivery_variant_id" => 3192667
"tariff_id" => null
"title" => null
"description" => null
"price" => 225
"shipping_company" => "5Post"
"shipping_company_handle" => "fivepost"
"delivery_interval" => [
"min_days" => 5
"max_days" => 7
"description" => "Срок доставки от 5 дн."
]
"errors" => []
"warnings" => []
"outlet" => [
"id" => "98c7c457-1936-41c2-b85f-294bddb51e4f"
"external_id" => "98c7c457-1936-41c2-b85f-294bddb51e4f"
"latitude" => 44.059814
"longitude" => 43.062315
"title" => "33I2 - Пятерочка"
"description" => "5post. Касса в магазине «Пятёрочка»"
"address" => "Пятигорск г, Орджоникидзе ул, 17"
"payment_method" => [
"PREPAID"
"CARD"
"CASH"
]
"source_id" => 2488451
]
"not_available" => null
]
"responsible_user_id" => null
"total_profit" => "3061.59"
]
} |
Envelope stamps when dispatching |
No items
|
Envelope stamps after dispatch |
Symfony\Component\Messenger\Stamp\BusNameStamp {#710
-busName: "messenger.bus.default"
}
Symfony\Component\Messenger\Stamp\HandledStamp {#783
-result: App\Core\Domain\Model\Insales\Order {#845
-application: App\Core\Domain\Model\Insales\Application {#753
-insalesId: 232775
-url: "ipolh.myinsales.ru"
-password: "5bf8b5fda864ad6424a654afceed911f"
-passwordToken: "bcca642f4535002fa4fde4418515d637"
-authentication: App\Core\Domain\Model\Insales\Embed\Authentication {#749
-login: null
-password: null
-authenticationSuccess: false
-authenticationError: "Idle timeout reached for "https://api.dashamail.ru/?insales"."
-apiKey: "19a4a20706497794df57c235206009d8"
}
-import: App\Core\Domain\Model\Insales\Embed\Import {#745
-orderImportFinish: true
-clientImportFinish: true
-lastOrderPage: 2
}
-options: App\Core\Domain\Model\Insales\Embed\Options {#741
-addressBookId: 274029
-addressBookTitle: "Тест611"
}
-lastExportDate: null
-readyExportClient: 2
-bouncedEmailCount: 79
-fakeEmailCount: 6
-installNotificationSend: true
-lastUpdateClient: DateTime @1731158821 {#725
date: 2024-11-09 16:27:01.0 Europe/Moscow (+03:00)
}
-importType: "import-client-order"
#id: 1
#createAt: DateTime @1728566978 {#722
date: 2024-10-10 16:29:38.0 Europe/Moscow (+03:00)
}
#updateAt: DateTime @1736440920 {#892
date: 2025-01-09 19:42:00.621678 Europe/Moscow (+03:00)
}
#uuid: "0192769e-e622-7c3a-b8d8-3587938d1a25"
}
-client: Proxies\__CG__\App\Core\Domain\Model\Insales\Client {#894
-application: App\Core\Domain\Model\Insales\Application {#753}
-clientGroup: Proxies\__CG__\App\Core\Domain\Model\Insales\ClientGroup {#854
#id: 61
#createAt: null
#updateAt: null
+__isInitialized__: false
…2
}
-paymentOrder: 501478.24
-paymentOrderCount: 6
-orderCount: 0
-exported: false
-name: "Фыва Фыва"
-surname: ""
-middlename: ""
-email: "a@mail.ru"
-phone: "+79261111111"
-clientCreateAt: DateTime @1735380447 {#893
date: 2024-12-28 13:07:27.0 +03:00
}
-firstOrderPaymentDate: DateTime @1676305566 {#905
date: 2023-02-13 19:26:06.0 Europe/Moscow (+03:00)
}
-lastOrderPaymentDate: DateTime @1736411189 {#896
date: 2025-01-09 11:26:29.0 Europe/Moscow (+03:00)
}
-clientInsalesIds: [
76444511
70599962
70129936
70124290
69966102
62078977
62076631
62076393
62076141
62075822
62034105
61959737
61959077
61957217
61936175
61936131
61935847
61935588
61933891
61807367
61807310
61807015
61801886
61801831
61722885
61722759
61721312
61719624
61719516
61719341
61700623
61700460
61677876
61677775
61629540
61629349
61628596
61370411
61369925
61056867
85526642
85666274
]
-dashaMailId: 13294
-dashaMailEmail: null
-dashaMailBouncedEmail: false
-dashaMailFakeEmail: false
#id: 2120
#createAt: DateTime @1730895726 {#850
date: 2024-11-06 15:22:06.0 Europe/Moscow (+03:00)
}
#updateAt: DateTime @1736440920 {#929
date: 2025-01-09 19:42:00.626893 Europe/Moscow (+03:00)
}
#uuid: "0193016c-c978-713a-86b3-ec17db349138"
+__isInitialized__: true
…2
}
-payed: false
-orderId: 125564199
-orderNumber: "1608"
-orderPrice: 3286.59
-deliveryPrice: 225.0
-createOrderAt: DateTime @1735380447 {#849
date: 2024-12-28 13:07:27.0 +03:00
}
#id: 521
#createAt: DateTime @1735380448 {#836
date: 2024-12-28 13:07:28.0 Europe/Moscow (+03:00)
}
#updateAt: DateTime @1736440920 {#855
date: 2025-01-09 19:42:00.622961 Europe/Moscow (+03:00)
}
#uuid: "01940cbc-345a-7a39-b574-20801d6a1ae3"
}
-handlerName: "App\Core\Application\Command\Insales\Webhook\UpdateOrder\UpdateOrderCommandHandler::__invoke"
}
|