public function processExchangePlatformOrder(Varien_Event_Observer $observer)
    {
        $order = $observer->getEvent()->getOrder();
        $quote = $order->getQuote();
        Mage::dispatchEvent('ebayenterprise_giftcard_redeem', array('quote' => $quote, 'order' => $order));
        return $this;
    }
public function processExchangePlatformOrder(Varien_Event_Observer $observer)
    {
        $order = $observer->getEvent()->getOrder();
        $quote = $order->getQuote();
        Mage::dispatchEvent('ebayenterprise_giftcard_redeem', array('quote' => $quote, 'order' => $order));
        return $this;
    }
public function processExchangePlatformOrder ( Varien_Event_Observer $ observer ) { $ order = $ observer -> getEvent ( ) -> getOrder ( ) ; $ quote = $ order -> getQuote ( ) ; Mage :: dispatchEvent ( 'ebayenterprise_giftcard_redeem' , array ( 'quote' => $ quote , 'order' => $ order ) ) ; return $ this ; }
Perform all processing necessary for the order to be placed with the
Exchange Platform - allocate inventory, redeem SVC. If any of the observers
need to indicate that an order should not be created, the observer method
should throw an exception.
Observers the 'sales_order_place_before' event.

@see Mage_Sales_Model_Order::place
@param Varien_Event_Observer $observer contains the order being placed which
will have a reference to the quote the
order was created for
@throws EbayEnterprise_Eb2cInventory_Model_Allocation_Exception
@throws Exception
@return self
Perform all processing necessary for the order to be placed with the Exchange Platform - allocate inventory redeem SVC . If any of the observers need to indicate that an order should not be created the observer method should throw an exception . Observers the sales_order_place_before event .