completeStep($order, $step); return new JsonResponse(null, HttpStatus::REQUEST_ACCEPTED); } catch (\Exception $exception) { throw new InternalServerErrorException("Failed to update order step because {$exception->getMessage()}"); } } }