src/Extension/OrderManipulationExtension.php
public static function get_session_order_ids()
    {
        $history = ShopTools::getSession()->get(self::$sessname);
        if (!is_array($history)) {
            $history = null;
        }
        return $history;
    }
public static function get_session_order_ids()
    {
        $history = ShopTools::getSession()->get(self::$sessname);
        if (!is_array($history)) {
            $history = null;
        }
        return $history;
    }
Get historical orders for current session.