diff --git a/src/QUI/ERP/Order/Guest/EventHandler.php b/src/QUI/ERP/Order/Guest/EventHandler.php
index 4f58f0c9b44dbdb8310e1eb3fd5a1bc6699b7e54..55f44ca013fa67761ca8e8ceba28cf2ae87e7c76 100644
--- a/src/QUI/ERP/Order/Guest/EventHandler.php
+++ b/src/QUI/ERP/Order/Guest/EventHandler.php
@@ -139,7 +139,7 @@ public static function onOrderProcessGetOrder($OrderProcess): ?AbstractOrder
             $result = QUI::getDataBase()->fetch([
                 'from' => $Handler->table(),
                 'where' => [
-                    'hash' => $guestId,
+                    'id' => $guestId,
                 ],
                 'limit' => 1,
                 'order' => 'c_date DESC'
@@ -152,16 +152,12 @@ public static function onOrderProcessGetOrder($OrderProcess): ?AbstractOrder
                 $email = QUI::getSession()->get(GuestOrder::EMAIL);
 
                 if ($customer['email'] === $email) {
-                    if (isset($customer['uuid'])) {
-                        QUI::getSession()->set(GuestOrder::CUSTOMER_UUID, $customer['uuid']);
-                    }
-
                     if (isset($customer['id'])) {
                         QUI::getSession()->set(GuestOrder::CUSTOMER_ID, $customer['id']);
                     }
 
                     try {
-                        return $Handler->get($result[0]['hash']);
+                        return $Handler->get($result[0]['id']);
                     } catch (\Exception) {
                     }
                 }
@@ -291,6 +287,7 @@ public static function onQuiqqerOrderProcessSend(QUI\ERP\Order\OrderProcess $Ord
             QUI\System\Log::addError($exception->getMessage());
         }
     }
+
     public static function onQuiqqerOrderCreated(AbstractOrder $Order): void
     {
         if (!($Order instanceof QUI\ERP\Order\Order)) {