original_string: public function validateCompletedOrderAddress(Varien_Event_Observer $observer)
      {
          /** @var Fontis_Australia_Helper_Address $helper */
          $helper = Mage::helper('australia/address');
          if (!$helper->isValidationOrderSaveEnabled()) {
              return;
          }
  
          try {
              /** @var Mage_Sales_Model_Order $order */
              $order = $observer->getOrder();
              if (!$order || !$order->getShippingAddress()) {
                  return;
              }
  
              $helper->validateOrderAddress($order);
              $order->save();
          } catch (Exception $err) {
              Mage::logException($err);
          }
      }
code: public function validateCompletedOrderAddress(Varien_Event_Observer $observer)
      {
          /** @var Fontis_Australia_Helper_Address $helper */
          $helper = Mage::helper('australia/address');
          if (!$helper->isValidationOrderSaveEnabled()) {
              return;
          }
  
          try {
              /** @var Mage_Sales_Model_Order $order */
              $order = $observer->getOrder();
              if (!$order || !$order->getShippingAddress()) {
                  return;
              }
  
              $helper->validateOrderAddress($order);
              $order->save();
          } catch (Exception $err) {
              Mage::logException($err);
          }
      }
code_tokens: public function validateCompletedOrderAddress ( Varien_Event_Observer $ observer ) { /** @var Fontis_Australia_Helper_Address $helper */ $ helper = Mage :: helper ( 'australia/address' ) ; if ( ! $ helper -> isValidationOrderSaveEnabled ( ) ) { return ; } try { /** @var Mage_Sales_Model_Order $order */ $ order = $ observer -> getOrder ( ) ; if ( ! $ order || ! $ order -> getShippingAddress ( ) ) { return ; } $ helper -> validateOrderAddress ( $ order ) ; $ order -> save ( ) ; } catch ( Exception $ err ) { Mage :: logException ( $ err ) ; } }
docstring: After order placement, validate the shipping address and store the result.
  
  @listen sales_model_service_quote_submit_success
  @param Varien_Event_Observer $observer
docstring_tokens: After order placement validate the shipping address and store the result .