title: Magento 1. Create order programmaticaly using 'sales/service_quote' returns empty order
body: <p>I trying to create order from quote using: </p>
  
  <pre><code>$service = Mage::getModel('sales/service_quote', $quote);
  </code></pre>
  
  <p>but order don't create in database(quote created successful).  </p>
  
  <pre><code>$service-&gt;getOrder();
  </code></pre>
  
  <p>returns <code>null</code>, <code>exception.log</code> and <code>system.log</code> are empty,
  my code:  </p>
  
  <pre><code>    $quote = Mage::getModel('sales/quote')-&gt;setStoteId($store-&gt;getId());
      $quote-&gt;setCustomerEmail($customer-&gt;getEmail());
      $quote-&gt;setSendConfirmation(0);
      $quote-&gt;addProduct($product, new Varien_Object(['qty' =&gt; 1]));
  
      $addressData = array(
              'firstname' =&gt; $customer-&gt;getFirstname(),
              'lastname' =&gt; 'Not set',
              'street' =&gt; 'Not set',
              'city' =&gt; 'Not set',
              'postcode' =&gt; 'Not set',
              'telephone' =&gt; '-',
              'country_id' =&gt; 'IN',
              'region' =&gt; 'Not set',
      );
  
      $billingAddress = $quote-&gt;getBillingAddress()-&gt;addData($addressData);
      $shippingAddress = $quote-&gt;getShippingAddress()-&gt;addData($addressData);
  
      $shippingAddress-&gt;setCollectShippingRates(true)-&gt;collectShippingRates()
                      -&gt;setShippingMethod('flatrate_flatrate')
                      -&gt;setPaymentMethod('checkmo');
  
      $quote-&gt;getPayment()-&gt;importData(['method' =&gt; 'checkmo']);
  
      $quote-&gt;collectTotals()-&gt;save();
  
      try {
          $service = Mage::getModel('sales/service_quote', $quote);
          $service-&gt;submitAll();
          $order = $service-&gt;getOrder();
      } catch (Exception $ex) {
          echo $ex-&gt;getMessage();
      } catch (Mage_Core_Exception $e) {
          echo $e-&gt;getMessage();
      }
  
      $order-&gt;setStatus('complete');
      $order-&gt;save();
  </code></pre>