public function process( MShop_Order_Item_Interface $order )
	{
		$logger = $this->_getContext()->getLogger();
		$xml = $this->buildXML( $order );

		$logger->log( __METHOD__ . ": XML request =\n" . $xml, MW_Logger_Abstract::INFO );

		$response = $this->_sendRequest( $xml );

		$logger->log( __METHOD__ . ": XML response =\n" . trim( $response ), MW_Logger_Abstract::INFO );

		$this->_checkResponse( $response, $order->getId() );

		$order->setDeliveryStatus( MShop_Order_Item_Abstract::STAT_PROGRESS );
	}
public function process( MShop_Order_Item_Interface $order )
	{
		$logger = $this->_getContext()->getLogger();
		$xml = $this->buildXML( $order );

		$logger->log( __METHOD__ . ": XML request =\n" . $xml, MW_Logger_Abstract::INFO );

		$response = $this->_sendRequest( $xml );

		$logger->log( __METHOD__ . ": XML response =\n" . trim( $response ), MW_Logger_Abstract::INFO );

		$this->_checkResponse( $response, $order->getId() );

		$order->setDeliveryStatus( MShop_Order_Item_Abstract::STAT_PROGRESS );
	}
public function process ( MShop_Order_Item_Interface $ order ) { $ logger = $ this -> _getContext ( ) -> getLogger ( ) ; $ xml = $ this -> buildXML ( $ order ) ; $ logger -> log ( __METHOD__ . ": XML request =\n" . $ xml , MW_Logger_Abstract :: INFO ) ; $ response = $ this -> _sendRequest ( $ xml ) ; $ logger -> log ( __METHOD__ . ": XML response =\n" . trim ( $ response ) , MW_Logger_Abstract :: INFO ) ; $ this -> _checkResponse ( $ response , $ order -> getId ( ) ) ; $ order -> setDeliveryStatus ( MShop_Order_Item_Abstract :: STAT_PROGRESS ) ; }
Sends the order details to the ERP system for further processing.

@param MShop_Order_Item_Interface $order Order invoice object to process
Sends the order details to the ERP system for further processing .