[2024-09-27 07:03:19] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465486' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465486, , 12.99, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 12.99, No, , 2024-09-27T07:03:03.000Z, 2024-09-27T07:03:03.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768594258002, , No, , No, , No, No, 26-12104-59636, 2024-09-27, 2024-09-27 07:03:19, 2024-09-27 07:03:19)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465486' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465486, , 12.99, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 12.99, No, , 2024-09-27T07:03:03.000Z, 2024-09-27T07:03:03.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768594258002, , No, , No, , No, No, 26-12104-59636, 2024-09-27, 2024-09-27 07:03:19, 2024-09-27 07:03:19)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465486' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 08:33:07] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465493' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465493, , 129.99, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 129.99, No, , 2024-09-27T08:32:52.000Z, 2024-09-27T08:32:52.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768604355002, , No, , No, , No, No, 07-12125-07922, 2024-09-27, 2024-09-27 08:33:07, 2024-09-27 08:33:07)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465493' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465493, , 129.99, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 129.99, No, , 2024-09-27T08:32:52.000Z, 2024-09-27T08:32:52.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768604355002, , No, , No, , No, No, 07-12125-07922, 2024-09-27, 2024-09-27 08:33:07, 2024-09-27 08:33:07)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465493' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 09:06:13] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839164' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839164, , 15.99, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 15.99, No, , 2024-09-27T09:05:45.000Z, 2024-09-27T09:05:45.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492846761005, , No, , No, , No, No, 13-12118-91778, 2024-09-27, 2024-09-27 09:06:13, 2024-09-27 09:06:13)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839164' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839164, , 15.99, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 15.99, No, , 2024-09-27T09:05:45.000Z, 2024-09-27T09:05:45.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492846761005, , No, , No, , No, No, 13-12118-91778, 2024-09-27, 2024-09-27 09:06:13, 2024-09-27 09:06:13)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839164' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 09:08:22] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '251739' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 7, 251739, , 17.9, 0.0, PR6 0LP, PR25 3US, GB, 0.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 17.9, No, , 2024-09-27T09:07:52.000Z, 2024-09-27T09:07:52.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 3133197700015, , No, , No, , No, No, 03-12129-18561, 2024-09-27, 2024-09-27 09:08:22, 2024-09-27 09:08:22)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '251739' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 7, 251739, , 17.9, 0.0, PR6 0LP, PR25 3US, GB, 0.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 17.9, No, , 2024-09-27T09:07:52.000Z, 2024-09-27T09:07:52.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 3133197700015, , No, , No, , No, No, 03-12129-18561, 2024-09-27, 2024-09-27 09:08:22, 2024-09-27 09:08:22)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '251739' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 09:13:24] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839168' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839168, , 133.24, 0.0, PR25 3US, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 133.24, No, , 2024-09-27T09:12:59.000Z, 2024-09-27T09:12:59.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492847687005, , No, , No, , No, No, 02-12130-52148, 2024-09-27, 2024-09-27 09:13:24, 2024-09-27 09:13:24)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839168' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839168, , 133.24, 0.0, PR25 3US, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 133.24, No, , 2024-09-27T09:12:59.000Z, 2024-09-27T09:12:59.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492847687005, , No, , No, , No, No, 02-12130-52148, 2024-09-27, 2024-09-27 09:13:24, 2024-09-27 09:13:24)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839168' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 09:36:39] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465498' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465498, , 34.95, 0.0, PR25 3US, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 34.95, No, , 2024-09-27T09:36:23.000Z, 2024-09-27T09:36:23.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2167323451004, , No, , No, , No, No, 14-12117-67925, 2024-09-27, 2024-09-27 09:36:39, 2024-09-27 09:36:39)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465498' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465498, , 34.95, 0.0, PR25 3US, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 34.95, No, , 2024-09-27T09:36:23.000Z, 2024-09-27T09:36:23.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2167323451004, , No, , No, , No, No, 14-12117-67925, 2024-09-27, 2024-09-27 09:36:39, 2024-09-27 09:36:39)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465498' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 09:45:09] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839193' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839193, , 40.69, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 40.69, No, , 2024-09-27T09:44:45.000Z, 2024-09-27T09:44:45.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2459394604006, , No, , No, , No, No, 21-12110-10167, 2024-09-27, 2024-09-27 09:45:09, 2024-09-27 09:45:09)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839193' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839193, , 40.69, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 40.69, No, , 2024-09-27T09:44:45.000Z, 2024-09-27T09:44:45.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2459394604006, , No, , No, , No, No, 21-12110-10167, 2024-09-27, 2024-09-27 09:45:09, 2024-09-27 09:45:09)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839193' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 11:15:49] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839273' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839273, , 39.49, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 39.49, No, , 2024-09-27T11:15:22.000Z, 2024-09-27T11:15:22.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492863135005, , No, , No, , No, No, 13-12119-22945, 2024-09-27, 2024-09-27 11:15:49, 2024-09-27 11:15:49)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839273' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839273, , 39.49, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 39.49, No, , 2024-09-27T11:15:22.000Z, 2024-09-27T11:15:22.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492863135005, , No, , No, , No, No, 13-12119-22945, 2024-09-27, 2024-09-27 11:15:49, 2024-09-27 11:15:49)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839273' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 11:31:19] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839287' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839287, , 11.99, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 11.99, No, , 2024-09-27T11:31:01.000Z, 2024-09-27T11:31:01.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2459409093006, , No, , No, , No, No, 09-12123-11234, 2024-09-27, 2024-09-27 11:31:19, 2024-09-27 11:31:19)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839287' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839287, , 11.99, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 11.99, No, , 2024-09-27T11:31:01.000Z, 2024-09-27T11:31:01.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2459409093006, , No, , No, , No, No, 09-12123-11234, 2024-09-27, 2024-09-27 11:31:19, 2024-09-27 11:31:19)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839287' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 12:04:35] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839317' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839317, , 11.21, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 11.21, No, , 2024-09-27T12:04:18.000Z, 2024-09-27T12:04:18.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2459413646006, , No, , No, , No, No, 04-12128-53169, 2024-09-27, 2024-09-27 12:04:35, 2024-09-27 12:04:35)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839317' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839317, , 11.21, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 11.21, No, , 2024-09-27T12:04:18.000Z, 2024-09-27T12:04:18.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2459413646006, , No, , No, , No, No, 04-12128-53169, 2024-09-27, 2024-09-27 12:04:35, 2024-09-27 12:04:35)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839317' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 12:19:50] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839331' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839331, , 1.19, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 1.19, No, , 2024-09-27T12:19:30.000Z, 2024-09-27T12:19:30.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2648058842007, , No, , No, , No, No, 25-12106-50513, 2024-09-27, 2024-09-27 12:19:50, 2024-09-27 12:19:50)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839331' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839331, , 1.19, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 1.19, No, , 2024-09-27T12:19:30.000Z, 2024-09-27T12:19:30.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2648058842007, , No, , No, , No, No, 25-12106-50513, 2024-09-27, 2024-09-27 12:19:50, 2024-09-27 12:19:50)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839331' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 12:34:55] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465520' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465520, , 35.95, 0.0, PR25 3US, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 35.95, No, , 2024-09-27T12:34:41.000Z, 2024-09-27T12:34:41.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768636754002, , No, , No, , No, No, 03-12129-71488, 2024-09-27, 2024-09-27 12:34:55, 2024-09-27 12:34:55)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465520' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465520, , 35.95, 0.0, PR25 3US, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 35.95, No, , 2024-09-27T12:34:41.000Z, 2024-09-27T12:34:41.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768636754002, , No, , No, , No, No, 03-12129-71488, 2024-09-27, 2024-09-27 12:34:55, 2024-09-27 12:34:55)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465520' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 13:38:14] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465527' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465527, , 5.95, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 5.95, No, , 2024-09-27T13:37:28.000Z, 2024-09-27T13:37:28.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768647063002, , No, , No, , No, No, 13-12119-64657, 2024-09-27, 2024-09-27 13:38:14, 2024-09-27 13:38:14)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465527' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465527, , 5.95, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 5.95, No, , 2024-09-27T13:37:28.000Z, 2024-09-27T13:37:28.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768647063002, , No, , No, , No, No, 13-12119-64657, 2024-09-27, 2024-09-27 13:38:14, 2024-09-27 13:38:14)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465527' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 13:43:11] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465528' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465528, , 49.95, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 49.95, No, , 2024-09-27T13:42:52.000Z, 2024-09-27T13:42:52.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768648395002, , No, , No, , No, No, 10-12122-51098, 2024-09-27, 2024-09-27 13:43:11, 2024-09-27 13:43:11)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465528' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465528, , 49.95, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 49.95, No, , 2024-09-27T13:42:52.000Z, 2024-09-27T13:42:52.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2768648395002, , No, , No, , No, No, 10-12122-51098, 2024-09-27, 2024-09-27 13:43:11, 2024-09-27 13:43:11)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465528' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 14:01:43] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465531' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465531, , 12.59, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 12.59, No, , 2024-09-27T14:01:18.000Z, 2024-09-27T14:01:18.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2167355800004, , No, , No, , No, No, 21-12110-83456, 2024-09-27, 2024-09-27 14:01:43, 2024-09-27 14:01:43)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465531' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 5, 465531, , 12.59, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 12.59, No, , 2024-09-27T14:01:18.000Z, 2024-09-27T14:01:18.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2167355800004, , No, , No, , No, No, 21-12110-83456, 2024-09-27, 2024-09-27 14:01:43, 2024-09-27 14:01:43)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '465531' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 14:08:14] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839408' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839408, , 20.95, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 20.95, No, , 2024-09-27T14:07:54.000Z, 2024-09-27T14:07:54.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492890002005, , No, , No, , No, No, 14-12118-45150, 2024-09-27, 2024-09-27 14:08:14, 2024-09-27 14:08:14)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839408' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839408, , 20.95, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 20.95, No, , 2024-09-27T14:07:54.000Z, 2024-09-27T14:07:54.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492890002005, , No, , No, , No, No, 14-12118-45150, 2024-09-27, 2024-09-27 14:08:14, 2024-09-27 14:08:14)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839408' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 15:47:46] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '139914' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 9, 139914, , 58.95, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 58.95, No, , 2024-09-27T15:47:26.000Z, 2024-09-27T15:47:26.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492907967005, , No, , No, , No, No, 17-12115-72170, 2024-09-27, 2024-09-27 15:47:46, 2024-09-27 15:47:46)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '139914' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 9, 139914, , 58.95, 0.0, Leyland, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 58.95, No, , 2024-09-27T15:47:26.000Z, 2024-09-27T15:47:26.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492907967005, , No, , No, , No, No, 17-12115-72170, 2024-09-27, 2024-09-27 15:47:46, 2024-09-27 15:47:46)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '139914' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(630): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderfromebay(Object(Illuminate\\Http\\Request), 'mfd2015') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderfromeba...', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderfromeba...') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(127): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(103): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequest(Object(Illuminate\\Http\\Request), Object(Closure), Array) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php(55): Illuminate\\Routing\\Middleware\\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\\Http\\Request), Object(Closure), 'api', Object(Closure)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\ThrottleRequests->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'api') #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(52): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #48 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #49 {main} "} [2024-09-27 19:10:51] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '139918' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 9, 139918, , 11.95, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 11.95, No, , 2024-09-27T19:06:16.000Z, 2024-09-27T19:06:16.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492946313005, , No, , No, , No, No, 17-12116-45917, 2024-09-27, 2024-09-27 19:10:51, 2024-09-27 19:10:51)) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '139918' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 9, 139918, , 11.95, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 11.95, No, , 2024-09-27T19:06:16.000Z, 2024-09-27T19:06:16.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492946313005, , No, , No, , No, No, 17-12116-45917, 2024-09-27, 2024-09-27 19:10:51, 2024-09-27 19:10:51)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #54 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '139918' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #54 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #55 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #56 {main} "} [2024-09-27 19:11:17] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839606' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839606, , 14.99, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 14.99, No, , 2024-09-27T18:34:13.000Z, 2024-09-27T18:34:13.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492939566005, , No, , No, , No, No, 22-12111-06648, 2024-09-27, 2024-09-27 19:11:17, 2024-09-27 19:11:17)) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839606' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839606, , 14.99, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 14.99, No, , 2024-09-27T18:34:13.000Z, 2024-09-27T18:34:13.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492939566005, , No, , No, , No, No, 22-12111-06648, 2024-09-27, 2024-09-27 19:11:17, 2024-09-27 19:11:17)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #54 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839606' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #54 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #55 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #56 {main} "} [2024-09-27 19:11:49] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839618' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839618, , 34.29, 0.0, PR25 3US, , GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 34.29, No, , 2024-09-27T18:54:23.000Z, 2024-09-27T18:54:23.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492943281005, , No, , No, , No, No, 25-12107-97234, 2024-09-27, 2024-09-27 19:11:49, 2024-09-27 19:11:49)) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839618' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839618, , 34.29, 0.0, PR25 3US, , GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 34.29, No, , 2024-09-27T18:54:23.000Z, 2024-09-27T18:54:23.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492943281005, , No, , No, , No, No, 25-12107-97234, 2024-09-27, 2024-09-27 19:11:49, 2024-09-27 19:11:49)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #54 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839618' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #54 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #55 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #56 {main} "} [2024-09-27 19:12:17] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839629' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839629, , 1.98, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 1.98, No, , 2024-09-27T19:09:51.000Z, 2024-09-27T19:09:51.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492946970005, , No, , No, , No, No, 19-12114-40362, 2024-09-27, 2024-09-27 19:12:17, 2024-09-27 19:12:17)) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839629' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 2, 1839629, , 1.98, 0.0, Leyland, Lancashire, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 1.98, No, , 2024-09-27T19:09:51.000Z, 2024-09-27T19:09:51.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2492946970005, , No, , No, , No, No, 19-12114-40362, 2024-09-27, 2024-09-27 19:12:17, 2024-09-27 19:12:17)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #54 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1839629' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #54 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #55 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #56 {main} "} [2024-09-27 19:12:34] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '414965' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 3, 414965, , 10.99, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 10.99, No, , 2024-09-27T19:10:54.000Z, 2024-09-27T19:10:54.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2198761294013, , No, , No, , No, No, 01-12133-51527, 2024-09-27, 2024-09-27 19:12:34, 2024-09-27 19:12:34)) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '414965' for key 'sales_record_number' (SQL: insert into `orders` (`status`, `ebayaccounts_id`, `sales_record_number`, `sold_via_promoted_listings`, `sold_for`, `postage_and_packaging`, `item_location`, `item_postcode`, `item_country`, `included_vat_rate`, `eBay_collectand_remit_tax_rate`, `eBay_collectand_remit_tax_type`, `eBay_reference_name`, `eBay_reference_value`, `tax_status`, `seller_collected_tax`, `eBay_collected_tax`, `electronic_waste_recycling_fee`, `mattress_recycling_fee`, `battery_recycling_fee`, `white_goods_disposal_tax`, `tyre_recycling_fee`, `additional_fee`, `total_price`, `eBay_collected_taxandfeesincludedintotal`, `payment_method`, `sale_date`, `paid_on_date`, `post_by_date`, `minimum_estimated_delivery_date`, `maximum_estimated_delivery_date`, `dispatched_on_date`, `feedbac_left`, `feedback_received`, `my_item_note`, `payPal_transaction_id`, `delivery_service`, `tracking_number`, `transaction_id`, `variation_details`, `global_shipping_programme`, `global_shipping_reference_id`, `click_and_collect`, `click_and_collect_reference_number`, `eBay_plus`, `eBay_fulfilment_programme`, `order_id`, `order_date`, `updated_at`, `created_at`) values (0, 3, 414965, , 10.99, 0.0, PR6 0LP, PR25 3US, GB, 20.0, , , , , , 0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, £0.00, 10.99, No, , 2024-09-27T19:10:54.000Z, 2024-09-27T19:10:54.000Z, , , , , No, , , , UK_RoyalMailNextDay, , 2198761294013, , No, , No, , No, No, 01-12133-51527, 2024-09-27, 2024-09-27 19:12:34, 2024-09-27 19:12:34)) at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:712) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #11 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #54 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '414965' for key 'sales_record_number' at D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php:501) [stacktrace] #0 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(501): PDOStatement->execute() #1 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(705): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into `or...', Array) #2 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(672): Illuminate\\Database\\Connection->runQueryCallback('insert into `or...', Array, Object(Closure)) #3 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(502): Illuminate\\Database\\Connection->run('insert into `or...', Array, Object(Closure)) #4 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Connection.php(454): Illuminate\\Database\\Connection->statement('insert into `or...', Array) #5 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Processors\\Processor.php(32): Illuminate\\Database\\Connection->insert('insert into `or...', Array) #6 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Query\\Builder.php(3028): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `or...', Array, 'id') #7 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Builder.php(1657): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1188): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(1153): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Database\\Eloquent\\Model.php(994): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 D:\\xampp\\htdocs\\ebaymotors\\app\\Http\\Controllers\\EbayOrdersController.php(1031): Illuminate\\Database\\Eloquent\\Model->save() #12 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php(54): App\\Http\\Controllers\\EbayOrdersController->getorderapi() #13 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('getorderapi', Array) #14 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(262): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\EbayOrdersController), 'getorderapi') #15 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php(205): Illuminate\\Routing\\Route->runController() #16 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(721): Illuminate\\Routing\\Route->run() #17 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\View\\Middleware\\ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Session\\Middleware\\StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #26 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Cookie\\Middleware\\EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(723): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #33 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(698): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #34 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(662): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #35 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php(651): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #36 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(167): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #37 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #38 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 D:\\xampp\\htdocs\\ebaymotors\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Fruitcake\\Cors\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(167): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(142): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #54 D:\\xampp\\htdocs\\ebaymotors\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #55 D:\\xampp\\htdocs\\ebaymotors\\public\\index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #56 {main} "}